liveBook · Manning

Quantum entanglement

As explained in Quantum Programming in Depth

Entanglement is a quantum correlation in which a composite system cannot be represented as independent states of its component systems.

Quantum entanglement is a correlation in which qubits form one system that cannot be represented as independent component states. In quantum function evaluation, auxiliary qubits may become entangled with input and output qubits, so they cannot be discarded like classical temporary variables. section 6.5.1

Account for entanglement because it can:

  • Prevent later interference by retaining information in auxiliary qubits that the theoretical computation no longer tracks. section 6.5.1
  • Produce incorrect algorithm results when auxiliary qubits remain entangled with qubits used later. section 6.5.1

Entanglement preventing interference

A Hadamard gate makes amplitudes cancel or amplify: applying it to |+⟩ yields |0⟩ because the |1⟩ amplitudes cancel. Entanglement with an unaccounted auxiliary qubit can prevent this interference from occurring correctly. section 6.5.1

Table 6.3 The steps of the Bennett’s trick
Step Input Auxiliary qubits Auxiliary output Final output
Initialize \(\ket{x}\) \(\ket{0}\) \(\ket{0}\) \(\ket{y}\)
\(\ket{x}\) \(\ket{\text{aux}}\) \(\ket{f(x)}\) \(\ket{y}\)
\(\ket{x}\) \(\ket{\text{aux}}\) \(\ket{f(x)}\) \(\ket{y \oplus f(x)}\)
\(\ket{x}\) \(\ket{0}\) \(\ket{0}\) \(\ket{y \oplus f(x)}\)

Trace Bennett’s trick as auxiliary information is computed, used, and returned to |0⟩ before the final output remains. section 6.5.1

How Quantum Programming in Depth covers it

How deep it goes
Defines entanglement and demonstrates its effect on interference, while deferring broader entanglement theory.
Examples
Uses a Hadamard interference calculation and Bennett’s trick for cleaning auxiliary qubits.
What it assumes
Assumes familiarity with qubits and quantum-state notation while refreshing superposition, amplitudes, interference, and measurement.
What you can do after
Diagnose how unaccounted entanglement can disrupt interference and produce incorrect quantum-algorithm results.
How it connects
Connects entanglement with auxiliary qubits, superposition, interference, measurement, and classical function evaluation.

Also explained in

Compare how 3 books explain quantum entanglement →

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.