Choosing the same bit for both control and target does not work.
×
Measurement Selection
Select a Qubit to measure in the Z (<0| , |1>) basis.
Measurement will collapse the superposition of the measured qubit into 100% <0| or |1> states, and will also change the states of any entangled qubits.
Qubit Transformations
Click on a row to apply a rotation, entanglement, or measurement
Gate
Description
X
Performs a 180 degree rotation about the X axis Flips <0| ↔ |1> and <+i| ↔ |−i>
X(Θ)
Performs a Θ degree rotation about the X axis
Y
Performs a 180 degree rotation about the Y axis Flips <+| ↔ |−> and <0| ↔ |1> *with relative phase
Y(Θ)
Performs a Θ degree rotation about the Y axis
Z
Performs a 180 degree rotation about the Z axis Flips <+| ↔ |−> and ;<+i| ↔ |−i> *with relative phase
Z(Θ)
Performs a Θ degree rotation about the Z axis
H
Performs a transformation from the Standard Basis (z-axis) to the Hadamard basis (x-axis) Flips pairs (<0| ↔ |+>) and (<1| ↔ |−>)
cX(C,T)
Controlled Not Gate: Applies X gate to (T)arget if (C)ontrol Qubit measures |1> Fundamental operation for entanglement
Circuit Diagram
Reset?
StateVector Representation
State
Probability
Superposition
Website design and creation by Seth Moore. webGL graphics and animations provided by Maaz Mombasawala.