Decodes a QPE measurement result into a phase estimate.
Converts the binary measurement outcome from the control register into the corresponding phase estimate φ ∈ [0, 1).
Measurement result as integer (0 to 2^n - 1)
Number of control qubits used (precision bits)
Phase estimate φ where 0 ≤ φ < 1
Decodes a QPE measurement result into a phase estimate.
Converts the binary measurement outcome from the control register into the corresponding phase estimate φ ∈ [0, 1).