liveBook · Manning

Phase encoding

As explained in Quantum Programming in Depth

Phase encoding represents information in the relative phases of the amplitudes of quantum basis states.

Phase encoding represents information in the relative phases of complex amplitudes rather than in their absolute values. Quantum Fourier transforms convert between phase encoding and amplitude encoding. section 5.5 section 5.3.4

Quantum phase estimation uses phase encoding as an intermediate representation:

  • Prepare multiple control qubits in equal-amplitude superpositions. section 5.3.5
  • Use controlled operations and phase kickback to encode different parts of an eigenphase in the control qubits’ relative phases. section 5.3.5
  • Apply the inverse quantum Fourier transform to convert phase information into amplitudes. section 5.5 section 5.3.5
  • Measure the control register and interpret the most probable basis state as a binary approximation of the eigenphase. section 5.3.5

Two-bit quantum phase estimation

For two bits of precision, use two control qubits in the |+⟩ ⊗ |+⟩ state. Controlled operations encode the eigenphase into their relative phases; inverse QFT concentrates amplitude on the basis state representing the best binary approximation, which measurement can reveal. section 5.3.5

Figure 5.8 In quantum phase estimation algorithm, we use multiple control qubits to encode the information about the eigenphase in phases of their states. Then, we use inverse quantum Fourier transform to convert that information from phase encoding to amplitude encoding, increasing the amplitude of the basis state that encodes the eigenphase compared to the amplitudes of other states. Finally, we measure the control qubits, reading out the bits of the phase as measurement results with high probability.
figure

Trace the encoding pipeline from relative phases through inverse QFT to amplified measurement probabilities for the eigenphase bits. section 5.3.5

How Quantum Programming in Depth covers it

How deep it goes
Explains relative-phase storage and its conversion into amplitudes, focusing on two-bit phase estimation rather than arbitrary QFT construction.
Examples
Uses two control qubits, controlled operations, inverse QFT, and binary measurement readout for a two-bit eigenphase estimate.
What it assumes
Assumes familiarity with amplitudes, basis states, controlled operations, eigenphases, and quantum Fourier transforms.
What you can do after
Evaluate/understand how relative phases encode eigenphase bits and how inverse QFT makes those bits readable through measurement.
How it connects
Connects amplitude encoding, quantum Fourier transform, inverse quantum Fourier transform, phase kickback, and quantum phase estimation.

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.