qiskit-community / qiskit-qec

Qiskit quantum error correction framework
https://qiskit-community.github.io/qiskit-qec/
Apache License 2.0
84 stars 35 forks source link

stim integration in the CssCodeCircuit class #341

Closed hetenyib closed 1 year ago

hetenyib commented 1 year ago

(method) to_stim_circuit() generates the two stim circuits for the two logical '0' and '1' and an additional list of measurement data to be used by the get_counts_via_stim

(method) get_counts_via_stim() calls self.to_stim_circuit() to generate the stim circuit for one of the logicals ('0' by default) and generates sample strings in the qiskit format

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.