qiskit-experiments
qiskit-experiments copied to clipboard
Add Mirror RB experiment
Summary
Added mirror randomized benchmarking experiment and analysis classes
Details and comments
TODO
Accommodate mirror circuits of zero length
Would it be better to report error per layer instead of EPC? Especially since there will be non-Clifford and Clifford versions.
@coruscating Yeah that would be more accurate
I think this can be merged after addressing Naoki's comments and changing EPC to EPL. If issues come up later, those can be addressed in future PRs.
The term "EPC" is currently used in standard and interleaved RB, so it would have to be replaced in those implementations too. Or maybe it would be better to replace "EPC" with "EPL" in the PR with universal-gate-set MRB. This PR implements MRB with circuits generated by the "old" sampling method which, to my knowledge, has only been implemented with Clifford gates.
Agreed, let's leave it as EPC for this PR then.
Assuming the branch https://github.com/Qiskit/qiskit-experiments/tree/feature/rb_speedup
is merged before this PR, note two things:
- The methods
CliffordUtils::random_clifford_circuits
andCliffordUtils::random_cliffords
will be deprecated. UseStandardRB::__sample_sequence
instead. - Consider whether using the mapping of Cliffords to integers is worthwhile for computing the inverses. See
CliffordUtils::_CLIFFORD_INVERSE_1Q