Skip to content

QS-04 · Circuit studio

Quantum Computing

Drag gates onto wires (or select a gate and click a slot). Click a placed two-qubit gate to change its target; right-click to remove.

units probability amplitudes (normalised)methods 2refs 1Methods & citations ↓

Circuit

(|00⟩+|11⟩)/√2 — maximally entangled

Qubits2
q0 |0⟩
q1 |0⟩
H=12(111−1)H=\tfrac{1}{\sqrt2}\begin{pmatrix}1&1\\1&-1\end{pmatrix}

State vector

exact
|00⟩
0.707+0.000i
|01⟩
0.000+0.000i
|10⟩
0.000+0.000i
|11⟩
0.707+0.000i
method Dense state-vector, 2^2 = 4 amplitudesprecision float64

Bloch spheres (reduced single-qubit states)

|0⟩|1⟩
q0 · r=0.00
(0.00, 0.00, 0.00)
|0⟩|1⟩
q1 · r=0.00
(0.00, 0.00, 0.00)

A vector shorter than 1 indicates the qubit is entangled with others (mixed reduced state).

Measurement

Exact probabilities vs. sampled shots (seeded, reproducible)

Shots1024
012300.250.50.751basis state indexprobabilityexact |ψᵢ|²sampled
|00⟩: 50.0% · 504 shots|11⟩: 50.0% · 520 shots

QS-04 · Methods

Methods, units & citations

units
probability amplitudes (normalised)
  • ▸Exact state-vector simulation
  • ▸Unitary gate application on 2ⁿ amplitudes

References

  1. [1]Nielsen M. A., Chuang I. L. Quantum Computation and Quantum Information. Cambridge Univ. Press (2010).

How to cite

Quantiphy Studio — Quantum Computing module (2026). https://pixel-perfect-view-1726.lovable.app/quantum-computing