Quantum Gate Calculator
Calculate quantum gate operations, output states, probabilities, and gate fidelity for quantum computing.
Inputs
rad
Results
P(|0⟩)
0%
P(|1⟩)
100%
Output |0⟩ Amplitude0
Output |1⟩ Amplitude1
Gate Fidelity1
Gate Error0%
How to Use This Calculator
- Select Gate Type: Pauli-X flips |0⟩↔|1⟩, Hadamard creates superposition, Pauli-Y and Pauli-Z apply phase rotations.
- Choose Input State: |0⟩ or |1⟩ as the single-qubit input to the gate operation.
- For rotation gates, set the Rotation Angle (rad): π/2 ≈ 1.5708 is a quarter-turn, π ≈ 3.1416 is a half-turn.
- Read P(|0⟩) and P(|1⟩) to see the measurement outcome probabilities after the gate transforms the input.
- Gate Fidelity (0–1) and Gate Error (%) indicate how well the ideal unitary operation is implemented.
What each input means
- Gate Type
- Quantum gate type
- Input State
- Input quantum state
- Rotation Angle
- Rotation angle (for rotation gates)
How this is calculated
Formula
|ψ_out⟩ = U|ψ_in⟩Worked example, using the default values
- Identify Input ParametersGate Type = 0, Input State = 0, Rotation Angle = 1.5707963267948966 = 3 input(s) provided
- Calculate PP0 = 0%
- Calculate PP100 = 100%
- Calculate Output |0⟩ Amplitude0 = 0
- Calculate Output |1⟩ Amplitude1 = 1
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Quantum Physics
Quantum Superposition Calculator
Calculate quantum superposition states, interference effects, coherence, and phase relationships.
Quantum PhysicsQuantum Measurement Calculator
Calculate quantum measurement probabilities, expectation values, variance, and wave function collapse.
Quantum PhysicsQuantum Computing Calculator
Complete quantum computing analysis. Qubit states, quantum gates, algorithm complexity, error correction, and hardware platforms.
Injection MoldingGate Size Calculator
Calculate injection mold gate dimensions from part weight, wall thickness, and material flow characteristics.
More in Science & Physics.