unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
363 stars 160 forks source link

Add a near-Clifford simulator for CDR #712

Closed rmlarose closed 7 months ago

rmlarose commented 3 years ago

The CDR method needs a near-Clifford simulator to be efficient at scale. Currently, this is sort-of placed on the user as an argument to execute_with_cdr. It would be good to have such a simulator available in Mitiq for this purpose.

Description

The function should be able to efficiently simulate near-Clifford circuits, i.e., circuits where most operations are Clifford except for a small number (possible zero) of operations. Such near-Clifford circuits are generated by generate_training_circuits in CDR. The simulator should input a near-Clifford circuit as a QPROGRAM with computational basis measurements and return measurement samples, for example as a dictionary {bitstring_1: counts_1, ..., bitstring_n: counts_n}.

Notes

github-actions[bot] commented 3 years ago

This issue had no activity for 2 months, and will be closed in one week unless there is new activity. Cheers!

github-actions[bot] commented 3 years ago

This issue had no activity for 2 months, and will be closed in one week unless there is new activity. Cheers!

github-actions[bot] commented 2 years ago

This issue had no activity for 2 months, and will be closed in one week unless there is new activity. Cheers!

github-actions[bot] commented 2 years ago

This issue had no activity for 2 months, and will be closed in one week unless there is new activity. Cheers!

natestemen commented 7 months ago

With https://github.com/unitaryfund/mitiq/issues/2241 open we will now close this in favor of adding some documentation.