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 documentation on effectively scaling CDR #2241

Closed natestemen closed 5 months ago

natestemen commented 7 months ago

In https://github.com/unitaryfund/mitiq/issues/712 it was proposed to to add an efficient near-Clifford simulator to Mitiq to ensure that Clifford Data Regression (CDR) scales well. In general we should adhere to the mantra of Make each program do one thing well. For that reason we should avoid adding a wrapper around a near-Clifford simulator inside Mitiq, but ensure we mention the need for this type of simulator when scaling CDR to larger number of qubits/layers in our documentation. It might be worth adding links to a few options out there.

I think this should go somewhere in the CDR guide. Potentially in docs/source/guide/cdr-2-use-case.md.

bdg221 commented 5 months ago

I plan to include the doc updates in the here. Currently, it looks like: To use CDR at scale, an efficient near-Clifford circuit simulator must be specified. In this example, the circuit is small enough to use any classical simulator, and we use the same density matrix simulator as above but without noise.

The planned new version would look like: To use CDR at scale, an efficient near-Clifford circuit simulator must be specified. Two examples of efficient near-Clifford circuit simulators are Qrack with the stabilizer hybrid (Clifford+Rz) and IBM's extended stabilizer simulator.

In this example, the circuit is small enough to use any classical simulator, and we use the same density matrix simulator as above but without noise.

bdg221 commented 5 months ago

A new issue should be created for creating a tutorial which uses CDR with Qrack as the near-Clifford simulator.