Skip to content

Commit ccbb5c4

Browse files
committed
use API
1 parent 70fbc66 commit ccbb5c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZX/rules/identity_remove.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ function rewrite!(::IdentityRemovalRule, circ::ZXCircuit{T, P}, vs::Vector{T}) w
7878
@assert merge_phase_tracking!(circ, v3, v1) "failed to merge phase tracking id from $v3 to $v1"
7979
end
8080

81-
rewrite!(IdentityRemovalRule(), circ.zx_graph, vs)
81+
rewrite!(IdentityRemovalRule(), base_zx_graph(circ), vs)
8282
return circ
8383
end

0 commit comments

Comments
 (0)