Introduce new benchmarks with ideal expectation values different from 1 #2005
Labels
benchmarks
Tools for benchmarking error mitigation methods.
feature-request
A request for a feature, tool, or workflow in Mitiq.
Milestone
Issue Description
Most examples and most benchmarks in Mitiq are based on benchmark circuits whose ideal expectation value is 1.
For example:
mitiq/mitiq/benchmarks/randomized_benchmarking.py
Line 23 in 9a13b3e
Typically we test how good a QEM technique is, by checking how close a mitigated expectation value is to 1 (ideal result) compared to the noisy unmitigated result.
This is very convenient and intuitive. However, it is also useful to have more general benchmarks in which the expectation value can be any number in a continuous interval e.g.
This would enable testing QEM techniques in more general scenarios, closer to real-world applications in which expectation values can take arbitrary values.
Proposed Solution
A possible way to achieve this is to introduce a new function for generating "rotated" RB circuits in which we$R_z(\theta)$ rotation in the middle of an RB circuit.
insert a
Something like:
where$G_j$ are Clifford elements or Clifford gates.
This should generate expectation values which are sinusoidal functions of$\theta$ , so something varying in with a continuous range of ideal expectation values.
At the same time since, up to factors of 2, we have$R_z(\theta) =cos(\theta) I + i \ sin(\theta) Z$ , the rotated Clifford circuit $C(\theta)$ can be written as a linear combination of just two Clifford circuits and, therefore, it is still easy to classically simulate.
We are open to other proposals, please share alternative ideas in the comments below this issue.
Additional References
For similar tricks, but used in a different context, see https://arxiv.org/abs/2010.02538
If large scale near Clifford circuits are necessary, Qrack can be used as a fast classical simulator.
The text was updated successfully, but these errors were encountered: