liveBook · Manning

Control qubit

As explained in Quantum Programming in Depth

A control qubit is a qubit whose state determines whether a controlled gate operates on its target qubits.

A control qubit determines whether a controlled gate operates on its target qubits. When every control qubit is in |1⟩, the gate acts on the targets; if any control is |0⟩, the state remains unchanged. section 2.3.1

Controlled-gate behavior follows these rules:

  • Apply the target operation to each basis-state component whose controls are all |1⟩. section 2.3.1
  • Leave basis-state components unchanged when at least one control is |0⟩. section 2.3.1
  • Extend the rule to superpositions by applying the gate linearly to every term. section 2.3.1

CNOT as the simplest case

With the left qubit as control and the right as target, CNOT maps |10⟩ to |11⟩ and |11⟩ to |10⟩, while leaving |00⟩ and |01⟩ unchanged. section 2.3.1

How Quantum Programming in Depth covers it

How deep it goes
Explains basis-state and superposition behavior in Dirac notation, while deferring controlled-gate matrix forms.
Examples
Demonstrates CNOT mappings for four two-qubit basis states and applies the rule term by term to superpositions.
What it assumes
Assumes familiarity with qubits, basis states, superposition, and Dirac notation.
What you can do after
Evaluate controlled-gate effects on basis states and superpositions using Dirac notation.
How it connects
Connects control qubits with controlled gates, target qubits, CNOT gates, superposition states, and quantum-gate linearity.

Also explained in

Compare how 2 books explain control qubit →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Quantum Programming in Depth. The section links point to the parts of the book it draws on.