liveBook · Manning

Estimation register

As explained in Building Quantum Software with Python

An estimation register is a quantum register whose measured outcomes encode an estimate computed by a quantum estimation algorithm.

An estimation register is an n-qubit quantum register whose measured integer outcomes encode an estimate produced by a quantum estimation algorithm. In quantum phase estimation, it captures the phase of an eigenvalue; in amplitude estimation, it captures the rotation information used to estimate good-outcome probabilities or counts. section 9.3 section 9.6.1

A phase-estimation workflow uses the register as follows:

  • Initialize every estimation qubit with a Hadamard gate, creating the superposition used to sample powers of the target circuit. section 9.3
  • Apply controlled powers U^(2^k) to a target register, using estimation qubit k as the control. section 9.3
  • Apply the inverse quantum Fourier transform, then measure the estimation register and select a frequent outcome v as the estimate. section 9.3 section 9.7

Circuit construction separates the estimation register from the target register. The reusable phase_estimation_circuit function allocates n estimation qubits, optionally prepares an eigenstate, applies controlled powers, reverses that preparation, and performs the IQFT. section 9.4

Quantum counting

Amplitude estimation uses an estimation register alongside a target register prepared by A. Controlled powers of the Grover iterate are followed by an IQFT; the most frequent estimation outcome can then determine how many oracle-tagged outcomes exist. With three target qubits, five estimation qubits, and items [0, 1, 2], the reported count is 3. section 9.6.1 section 9.6.2

Figure 9.17 The QPE algorithm where U is an m-qubit circuit and E prepares an eigenstate of the circuit
figure

Use the circuit diagram to trace the estimation register, target register, controlled circuit powers, optional eigenstate unpreparation, and final IQFT. section 9.3

How Building Quantum Software with Python covers it

How deep it goes
Explains allocation, Hadamards, controlled powers, IQFT, measurement, and outcome selection, while deferring mathematical proofs and advanced estimators.
Examples
Uses a three-qubit phase-estimation register for RY-based phase estimation and a five-qubit register to count three oracle-tagged outcomes.
What it assumes
Assumes quantum registers, controlled circuits, eigenstates, Hadamard gates, Grover iterates, and the inverse quantum Fourier transform.
What you can do after
Apply it via phase_estimation_circuit or amplitude_estimation_circuit and interpret frequent measurement outcomes as estimates.
How it connects
Connects quantum phase estimation with target registers, eigenstates, inverse quantum Fourier transform, amplitude estimation, Grover iterates, and quantum counting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Quantum Software with Python. The section links point to the parts of the book it draws on.