drawcircuits.xyz

Quantum Circuit Examples

Visual examples of foundational quantum algorithms and protocols, with links to edit each circuit.

Shor's algorithm

Shor’s algorithm combines modular exponentiation with phase estimation and an inverse QFT to factor integers efficiently.

Open Shor's algorithm in the circuit editor