circuit-eval-collapsed

intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 0 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 1 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 2 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 3 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 4 intersecting-wires.qs:23:5 use q1 = Qubit(); | ψ 5 intersecting-wires.qs:24:5 use q2 = Qubit(); | ψ 6 intersecting-wires.qs:3:5 M(qs[0]); intersecting-wires.qs:5:5 Foo([qs[2], qs[4]]); Foo Foo Bar Bar intersecting-wires.qs:7:5 Foo(qs[0..1]); Foo Foo intersecting-wires.qs:11:5 Foo(qs[3..4]); Foo Foo 2 Foo 2 intersecting-wires.qs:9:5 Foo([qs[2], qs[0]]); Foo Foo Bar Bar intersecting-wires.qs:13:5 Foo(qs[0..2]); Foo Foo Foo 2 Foo 2 Foo 2 Foo 2 intersecting-wires.qs:16:5 M(qs[2]); intersecting-wires.qs:17:5 M(qs[2]); BoxWithMeasurements BoxWithMeasurements BoxWithMeasurements

circuit-eval-expanded

intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 0 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 1 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 2 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 3 intersecting-wires.qs:2:5 use qs = Qubit[5]; | ψ 4 intersecting-wires.qs:23:5 use q1 = Qubit(); | ψ 5 intersecting-wires.qs:24:5 use q2 = Qubit(); | ψ 6 intersecting-wires.qs:3:5 M(qs[0]); intersecting-wires.qs:5:5 Foo([qs[2], qs[4]]); Foo Foo intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:7:5 Foo(qs[0..1]); Foo Foo intersecting-wires.qs:11:5 Foo(qs[3..4]); Foo intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:37:5 MResetZ(q); intersecting-wires.qs:37:5 MResetZ(q); intersecting-wires.qs:37:5 MResetZ(q); |0⟩ intersecting-wires.qs:37:5 MResetZ(q); |0⟩ intersecting-wires.qs:9:5 Foo([qs[2], qs[0]]); Foo Foo intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:13:5 Foo(qs[0..2]); Foo Foo intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:41:5 X(q); intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:42:5 Y(q); Y intersecting-wires.qs:37:5 MResetZ(q); intersecting-wires.qs:37:5 MResetZ(q); intersecting-wires.qs:37:5 MResetZ(q); |0⟩ intersecting-wires.qs:37:5 MResetZ(q); |0⟩ intersecting-wires.qs:16:5 M(qs[2]); intersecting-wires.qs:17:5 M(qs[2]); intersecting-wires.qs:46:5 M(qs[2]); intersecting-wires.qs:47:5 Foo(qs); Foo Foo Foo