-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbtof3
executable file
·37 lines (37 loc) · 1.31 KB
/
btof3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Inputs: 0:Qbit, 1:Qbit, 2:Qbit, 3:Qbit, 4:Qbit
QInit0(5) with nocontrol
QGate["X"](2) with nocontrol
QGate["not"](5) with controls=[+1, +2] with nocontrol
QGate["X"](2) with nocontrol
QInit0(6) with nocontrol
QGate["not"](6) with controls=[+0, +5] with nocontrol
QRot["R(2pi/%)",6.249984375039063e-8](6)
QGate["not"](6) with controls=[+0, +5] with nocontrol
QTerm0(6) with nocontrol
QGate["X"](2) with nocontrol
QGate["not"](5) with controls=[+1, +2] with nocontrol
QGate["X"](2) with nocontrol
QTerm0(5) with nocontrol
QInit0(5) with nocontrol
QGate["X"](4) with nocontrol
QGate["not"](5) with controls=[+2, +4] with nocontrol
QGate["X"](4) with nocontrol
QGate["X"](3) with controls=[+5]
QGate["X"](4) with nocontrol
QGate["not"](5) with controls=[+2, +4] with nocontrol
QGate["X"](4) with nocontrol
QTerm0(5) with nocontrol
QInit0(5) with nocontrol
QGate["not"](5) with controls=[+0, +1] with nocontrol
QInit0(6) with nocontrol
QGate["X"](2) with nocontrol
QGate["not"](6) with controls=[+2, +5] with nocontrol
QGate["X"](2) with nocontrol
QGate["X"](4) with controls=[+6]
QGate["X"](2) with nocontrol
QGate["not"](6) with controls=[+2, +5] with nocontrol
QGate["X"](2) with nocontrol
QTerm0(6) with nocontrol
QGate["not"](5) with controls=[+0, +1] with nocontrol
QTerm0(5) with nocontrol
Outputs: 0:Qbit, 1:Qbit, 2:Qbit, 3:Qbit, 4:Qbit