Quantum Security Hub
Labs & Interactive Demos
Explore two interactive quantum algorithm demos in Quirk. Each embed is ready to run: Shor (period finding) and Grover (search).
Interactive Circuits (Quirk)
These embeds are fully interactive. You can run the circuit, step through operations, and inspect measurement probabilities.
Crypto Strength Simulator
Explore how classical and quantum attacks change the effective security of cryptographic algorithms.
Open ↓Shor Demo — Period Finding
This circuit demonstrates the period-finding step used by Shor’s factoring algorithm. Don’t worry about the math details—focus on how the circuit produces a probability pattern that reveals a hidden periodic structure.
How to use this demo
- Run the circuit: look for a ▶ run/play control in the Quirk UI and observe the probability bars (measurement outcomes).
- Step through: use step/advance controls (if available) to see how the state evolves from left to right across the circuit.
- What to look at: after the QFT block, the output distribution typically shows peaks rather than a flat spread—those peaks relate to a hidden period.
- What you can click safely: you can toggle individual gates, drag components, or open “Example Circuits” without breaking anything—refresh the page to reset.
- Reset if needed: if the circuit gets messy, simply reload the page (or open the link above again) to restore the original Shor setup.
Note: Quirk is a visual simulator—this demo is about intuition and patterns (not production-grade quantum execution).
Grover Demo — Quantum Search
This circuit demonstrates Grover’s search idea: repeatedly amplifying the probability of a “marked” state (the solution) so it becomes much more likely to be measured.
How to use this demo
- Run and observe: start the simulation and look at the probability bars—one outcome should become dominant after iterations.
- Look for the “oracle” block: it marks the target state. If you modify it (or swap controls), you change what the algorithm is “searching” for.
- Iterate: this circuit contains repeated Grover steps. You can add/remove a repetition to see the probability rise and then overshoot.
- Safe interactions: you can drag gates, toggle them, or open examples; refresh the page to restore the original Grover setup.
- Key intuition: Grover doesn’t check items one by one—each iteration shifts “probability weight” toward the marked answer.
Crypto Strength Simulator
This interactive simulator shows how cryptographic strength changes under classical and quantum attacks. Different algorithms behave very differently—explore why.
Classical Security
128-bit
Resistance against classical attacks.
Quantum Impact
64-bit
Effective security under Grover or Shor.
Status
🟡 Reduced
How to interact
- Select an algorithm and adjust its parameters.
- Observe how classical and quantum security diverge.
- Notice that symmetric crypto degrades, while public-key crypto collapses.
- This explains why post-quantum migration focuses on key sizes and algorithm replacement.