liveBook · Manning

Quantum interference

As explained in Quantum Programming in Depth

Interference is the alteration of quantum amplitudes through their constructive or destructive combination.

Quantum interference changes measurement outcomes when quantum amplitudes combine: some basis-state amplitudes cancel, while others reinforce. A Hadamard gate illustrates both effects directly. section 6.5.1

Entanglement with an unaccounted-for auxiliary qubit can prevent the intended interference, because entangled qubits form one inseparable system rather than independent groups. section 6.5.1

Hadamard-state test

Applying a Hadamard gate to |+⟩ cancels the |1⟩ amplitudes and reinforces |0⟩, so measurement returns 0. Applied to |−⟩, the reverse cancellation returns 1. Entanglement with another qubit changes this behavior. 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)}\)

Use the Bennett’s trick table to trace auxiliary-qubit cleanup and avoid leaving entanglement that can obstruct later interference. section 6.5.1

How Quantum Programming in Depth covers it

How deep it goes
Derives a Hadamard example and identifies entanglement as a failure mechanism, without developing broader interference algorithms.
Examples
Uses |+⟩ and |−⟩ Hadamard tests plus auxiliary-qubit entanglement to demonstrate changed measurement results.
What it assumes
Assumes familiarity with basis states, amplitudes, Hadamard gates, and entanglement.
What you can do after
Diagnose interference failures by checking whether auxiliary qubits remain entangled with computation qubits.
How it connects
Connects quantum amplitudes with Hadamard gates, basis states, entanglement, and auxiliary qubits.

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.