When I use a self-defined NoiseModel to add noise to the circuit in cirq
, it treats cirq.CircuitOperation
as a single operation and fails on it.
I can explicitly fix it in my noise model implementation by recursively adding noise to its circuit and then replacing itself, but is there any existing method or better way to do this for me?