Closed csookim closed 1 month ago
circ = Circuit(2)
circ.add(gates.H(0))
circ.add(gates.CNOT(0, 1))
circ.add(gates.SWAP(0, 1))
circ.add(gates.CZ(0, 1))
circ.add(gates.M(0, 1))
gate_list = [gates.GPI2, gates.RZ, gates.Z, gates.M, gates.CNOT]
native_gates = NativeGates(0).from_gatelist(gate_list)
custom_pipeline = Passes([Unroller(native_gates=native_gates)])
unrolled_circuit, _ = custom_pipeline(circ)
print(unrolled_circuit.draw(line_wrap=100))
q0: ─Z─GPI2─o─o─X─o────────o────────M─
q1: ────────X─X─o─X─Z─GPI2─X─Z─GPI2─M─
Btw, why are you deleting Codecov comments? Just out of curiosity (the checks in the workflows are still there; so it's just a different in appearance, but no substantial change, so it's even fine)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.94%. Comparing base (
8fb9af9
) to head (3281871
). Report is 24 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Btw, why are you deleting Codecov comments? Just out of curiosity (the checks in the workflows are still there; so it's just a different in appearance, but no substantial change, so it's even fine)
I deleted it to avoid confusion, as the removed one was the coverage of the previous code. Will it be updated automatically?
I deleted it to avoid confusion, as the removed one was the coverage of the previous code. Will it be updated automatically?
Indeed, if you leave it there it will edit the same comment, instead of adding a new one :)
This covers issue #1421.
Checklist: