Project: Error-Mitigated Estimation
Near-term devices are too noisy to trust a raw expectation value, yet too small to error-correct. Error mitigation bridges the gap: it does not fix the qubits, but it post-processes biased measurements into a better estimate of the noiseless observable. This capstone implements the most widely used technique — zero-noise extrapolation (ZNE) — end to end on an observable.
The idea: amplify, then extrapolate
A noisy device returns a biased expectation value that depends on the noise strength . We cannot reduce below the hardware floor, but we can increase it on purpose — by gate folding, replacing each gate with (logically the identity insertion, physically more noise). Measuring at several scale factors samples the curve , and a fit extrapolated to estimates the ideal value:
Linear extrapolation
The simplest model assumes is approximately linear in the noise scale near the hardware floor:
Two measurements pin down the line. With data and ,
The zero-noise estimate is the intercept — much closer to the ideal than either raw point.
Try it
Implement zneLinear to fit the line through two scale points and return its zero-noise intercept.
The grader checks you recover from the scales and .
Sign in on the full site to ask questions and join the discussion.