Mitiq PEC Planning
August 2020
General PEC Pipeline
Input:
(i) Circuit C
(ii) Executor E
(iii) Number of samples M or precision δ
(1) Compile circuit C into a set of unitaries {U}
(2) Express each unitary in {U} in the basis of noisy gates {G}
Quantum device information
Assumption on noise
or
Compute or input: Noisy basis {G}
Output:
Noiseless estimate E(C)
(3) Loop until convergence (M or δ)
(i) Sample a noisy circuit N from the quasi-probability distribution
(ii) Use the executor to evaluate E(N) and store the result + sign and prefactor
Breakdown of steps
Note: If we assume a particular noise model, the noisy basis {G} can have a simple representation for any unitary in the circuit C, so compilation may be overkill here.
(1) Compile circuit C into a set of unitaries {U}
Breakdown of steps
Quantum device information
Assumption on noise
or
Input or compute: Noisy basis {G}
Breakdown of steps
(2) Express each unitary in {U} in the basis of noisy gates {G}
Breakdown of steps
(3) Loop until convergence (M or δ)
Sample a noisy circuit N from the quasi-probability distribution
Use the executor to evaluate E(N) and store the result
General PEC Pseudocode