qiboteam / rtqem

Impact of error mitigation using a quantum device as a regressor.
3 stars 0 forks source link

Compatibility with qibo main #57

Closed AlejandroSopena closed 8 months ago

AlejandroSopena commented 8 months ago

Looks good to me. I was just not sure, what are all the new utils about the FusedGate for?

I have added that because each layer is $R_z(\theta_1)R_y(\theta_2)$ and to use the error mitigation methods and run the circuit we have to fuse the single qubit gates and transpile the circuit into native gates. But if I use the standard fusemethod in qibo, all the gates will be fused into a single qubit gate in the single qubit case so I have added the option to add "barriers" as identities. This was already implemented in the branch of qibo that this code was compatible with.