Why Quantum?

Quantum information theory stands at the intersection of mathematics, computer science, and physics, and is rapidly becoming one of the most important areas for formal verification. While many branches of mathematics and software engineering benefit from formal methods, quantum information presents unique challenges and opportunities that make it a particularly compelling target for formalization.

Quantum computing isn't just a theoretical curiosity, it's an emerging technology with the potential to revolutionize computation, cryptography, and communication. Unlike classical software, quantum algorithms operate on principles that are fundamentally different from those of traditional computation, such as superposition, entanglement, and non-commutativity. These features require new mathematical frameworks and verification techniques. As quantum computers become more powerful and accessible, the need for rigorous, machine-checked proofs of correctness and security in quantum software is increasingly urgent.

The history of quantum physics is filled with examples of brilliant minds being led astray by its unintuitive nature. Even experts can make subtle mistakes in reasoning, and informal arguments may overlook critical details. Formalization in a system like Lean provides a safeguard against such errors, ensuring that every step is logically sound and that assumptions are made explicit. This is especially important in quantum information theory, where theorems often have precise conditions and applicability, and where security proofs for quantum cryptography must be watertight.

Quantum information theory is also unusually well-suited to formalization compared to other areas of physics. Many quantum theorems are stated with clear, mathematical assumptions and do not rely on the kinds of approximations or empirical models common in other fields. This clarity makes it possible to encode quantum results in proof assistants like Lean, opening the door to verified libraries of quantum algorithms, protocols, and foundational results. By formalizing quantum information, we not only increase confidence in our understanding, but also lay the groundwork for verified quantum software and hardware, which will be essential as quantum technologies mature.