forked from quantum-compiler/quartz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gates.inc.h
34 lines (34 loc) · 794 Bytes
/
gates.inc.h
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
// A mapping from GateType to Gate subclasses.
PER_GATE(h, HGate)
PER_GATE(x, XGate)
PER_GATE(y, YGate)
PER_GATE(rx, RXGate)
PER_GATE(ry, RYGate)
PER_GATE(rz, RZGate)
PER_GATE(cx, CXGate)
PER_GATE(ccx, CCXGate)
PER_GATE(add, AddGate)
PER_GATE(neg, NegGate)
PER_GATE(z, ZGate)
PER_GATE(s, SGate)
PER_GATE(sdg, SDGGate)
PER_GATE(t, TGate)
PER_GATE(tdg, TDGGate)
PER_GATE(ch, CHGate)
PER_GATE(swap, SWAPGate)
PER_GATE(p, PGate)
PER_GATE(pdg, PDGGate)
PER_GATE(rx1, RX1Gate)
PER_GATE(rx3, RX3Gate)
PER_GATE(u1, U1Gate)
PER_GATE(u2, U2Gate)
PER_GATE(u3, U3Gate)
PER_GATE(ccz, CCZGate)
PER_GATE(cz, CZGate)
PER_GATE(cp, CPGate)
PER_GATE(input_qubit, InputQubitGate)
PER_GATE(input_param, InputParamGate)
PER_GATE(ry1, RY1Gate)
PER_GATE(ry3, RY3Gate)
PER_GATE(rxx1, RXX1Gate)
PER_GATE(rxx3, RXX3Gate)