We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fbc66 commit ccbb5c4Copy full SHA for ccbb5c4
src/ZX/rules/identity_remove.jl
@@ -78,6 +78,6 @@ function rewrite!(::IdentityRemovalRule, circ::ZXCircuit{T, P}, vs::Vector{T}) w
78
@assert merge_phase_tracking!(circ, v3, v1) "failed to merge phase tracking id from $v3 to $v1"
79
end
80
81
- rewrite!(IdentityRemovalRule(), circ.zx_graph, vs)
+ rewrite!(IdentityRemovalRule(), base_zx_graph(circ), vs)
82
return circ
83
0 commit comments