← Back to Bloch Sphere
About
Bloch Sphere is an interactive Bloch sphere for students meeting quantum computing for the first time. Every single-qubit gate is
a rotation of the sphere: here you can watch those rotations happen, and see the same states and gates as exact numbers.
What you can do
-
Apply gates (X, Y, Z, H, S, T, their inverses, and rotations by any angle) to up to five qubits, and watch them turn the
sphere. Point at a gate to preview where it goes before you click.
- See each state as a ket, a vector, circle notation, probabilities and angles, and each gate as a matrix and a rotation.
- Replay your journey step by step, or undo it.
-
Build your own gates in the Gate Lab: combine, undo, repeat and take fractions of gates, see the single rotation they add up
to, and save them to use on the sphere.
- Play challenges: get a qubit to a goal using only some gates, in as few as you can.
-
Read the guides: what a qubit is, how the Bloch sphere works, measurement, and every gate, in plain words
first, with links that set up the sphere to try each idea. Click a label in the app, like θ or "vector", for a short definition.
Open source
The code is on GitHub at github.com/ferasb/bloch-sphere, under the MIT
license. Bug reports and ideas are welcome there as issues.
Contact
Made by Feras Bisharat: more about me and my other projects, like rekt (a trading
game with play money and live prices), at ferasbisharat.com. Write to
ferasbish@gmail.com.
See also: Privacy