Near-grid quantum phase estimation

ID: near-grid-quantum-phase-estimation

For register size and eigenphase , the amplitude of decoded label is . The finite geometric series gives . If , this is . Thus the nearest exactly representable phase is returned with probability near one, not with certainty unless the offset vanishes.
// Target: quantum-error-correction.bigb

New to topics? Read the docs here!