Math 2.0

Quantum theory Definition

Quantum circuit

Builds on Quantum logic gateQubitTensor product of Hilbert spacesBoolean circuit

Definition

Let n≥1n \ge 1 and let 𝒢\mathcal{G} be a set of quantum logic gates, called the gate set. A quantum circuit on nn qubits over 𝒢\mathcal{G} is a finite sequence ((G1,t1),…,(Gm,tm))((G_1, t_1), \dots, (G_m, t_m)) with the following properties.

  1. Each GjG_j is a kjk_j-qubit gate in 𝒢\mathcal{G}, with kj≤nk_j \le n.
  2. Each tjt_j is a kjk_j-tuple of distinct indices in {1,…,n}\set{1, \dots, n}.

Let G~j\widetilde{G}_j be the operator on (ℂ2)⊗n(\C^2)^{\otimes n} obtained by applying GjG_j to the qubits tjt_j. The circuit implements the unitary operator U=G~m⋯G~2G~1U = \widetilde{G}_m \cdots \widetilde{G}_2 \widetilde{G}_1. The number mm is the size of the circuit.

Remarks

Example: let n=2n = 2 and the circuit be ((H,(1)),(CNOT,(1,2)))((H, (1)), (\mathrm{CNOT}, (1, 2))), with HH the Hadamard gate. Then ∣00⟩↦12(∣00⟩+∣10⟩)↦12(∣00⟩+∣11⟩)\lvert 00 \rangle \mapsto \frac{1}{\sqrt2}(\lvert 00 \rangle + \lvert 10 \rangle) \mapsto \frac{1}{\sqrt2}(\lvert 00 \rangle + \lvert 11 \rangle), a Bell state.

Non-example: the sequence ((CNOT,(1,1)))((\mathrm{CNOT}, (1, 1))) is not a circuit, because the indices in t1t_1 are not distinct; a gate cannot act twice on the same qubit at once.

The depth is the least number of layers into which the sequence can be cut, in order, such that the gates in one layer act on disjoint qubits. Many authors also allow measurements and classical control inside a circuit; by the principle of deferred measurement, these can be moved to the end at small cost.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Boolean circuit concept
  2. Quantum logic gate concept
  3. Qubit concept
  4. Tensor product of Hilbert spaces concept
  5. Quantum circuit definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Quantum_circuit
About this page
TagCP0JWNNWXG
URIm2://CP0JWNNWXG
Kinddefinition
WritingW0 stub
MSC81P68, 68Q12, 81P65
DefinesQuantum circuit
UsesQuantum logic gate, Qubit, Tensor product of Hilbert spaces, Boolean circuit
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.