Loop Condensation In Quantum Dimer Models