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
intersecting-wires.qs:25:5 Bar(q1);
Bar
intersecting-wires.qs:26:5 Bar(q2);
Bar
intersecting-wires.qs:7:5 Foo(qs[0..1]);
Foo
Foo
intersecting-wires.qs:11:5 Foo(qs[3..4]);
Foo
intersecting-wires.qs:27:5 Foo2(q1);
Foo
2
intersecting-wires.qs:30:5 Foo2(q2);
Foo
2
intersecting-wires.qs:9:5 Foo([qs[2], qs[0]]);
Foo
Foo
intersecting-wires.qs:28:5 Bar(q1);
Bar
intersecting-wires.qs:31:5 Bar(q2);
Bar
intersecting-wires.qs:13:5 Foo(qs[0..2]);
Foo
Foo
intersecting-wires.qs:29:5 Foo2(q1);
Foo
2
Foo
2
intersecting-wires.qs:32:5 Foo2(q2);
Foo
2
Foo
2
intersecting-wires.qs:16:5 M(qs[2]);
intersecting-wires.qs:17:5 M(qs[2]);
intersecting-wires.qs:21:5 BoxWithMeasurements(qs);
BoxWithMeasurements
BoxWithMeasurements
BoxWithMeasurements
Main
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:42:5 Y(q);
Y
Bar
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
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:42:5 Y(q);
Y
Bar
intersecting-wires.qs:37:5 MResetZ(q);
intersecting-wires.qs:37:5 MResetZ(q);
|0⟩
Foo
2
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
intersecting-wires.qs:37:5 MResetZ(q);
intersecting-wires.qs:37:5 MResetZ(q);
|0⟩
Foo
2
intersecting-wires.qs:9:5 Foo([qs[2], qs[0]]);
Foo
Foo
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
intersecting-wires.qs:13:5 Foo(qs[0..2]);
Foo
Foo
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
intersecting-wires.qs:37:5 MResetZ(q);
intersecting-wires.qs:37:5 MResetZ(q);
|0⟩
Foo
2
intersecting-wires.qs:41:5 X(q);
intersecting-wires.qs:42:5 Y(q);
Y
Bar
intersecting-wires.qs:37:5 MResetZ(q);
intersecting-wires.qs:37:5 MResetZ(q);
|0⟩
Foo
2
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
BoxWithMeasurements
Main