The basic principle of a DC SQUID relies on the quantum mechanical properties of superconductors. When a magnetic field is applied to the SQUID loop, it induces a circulating current which affects the phase difference across the Josephson junctions. This phase difference modulates the critical current of the junctions, resulting in periodic variations in voltage. The output voltage is sensitive to the magnetic flux through the loop, allowing for precise magnetic field measurements.