QuantumVela.com · Quantum Lab
Two-qubit quantum circuit builder
Apply real gates to a 2-qubit state vector, compute outcome probabilities and export the circuit as OpenQASM 2.0.
Construct the circuit
Gate sequence ()
Sample measurements
Calculated outcome probabilities
|00⟩
|01⟩
|10⟩
|11⟩
State ordering: |q0 q1⟩, with q0 as the most significant bit. Normalization: .
Complex amplitudes
|00⟩:
|01⟩:
|10⟩:
|11⟩:
Export OpenQASM 2.0
A reproducible Bell state
Starting in |00⟩, apply H to q0 and then CX with q0 controlling q1. The resulting state is (|00⟩ + |11⟩)/√2, with 50% probability for each of 00 and 11. The individual qubit measurements are correlated, not independent.
Important limitations
This is a deterministic ideal two-qubit state-vector simulator. It does not model device noise or execute on remote hardware. Shot samples are pseudorandom and reproducible by seed. The editor has a 30-gate limit to keep calculations simple and explainable.