qit.gate¶
Quantum gates¶
This module implements many common types of quantum gates (and some
other useful linear maps). The returned gates are represented as Lmap
instances.
The data type is float unless complex entries are actually needed.
Utilities¶
|
Single-qudit operator. |
|
Two-qudit operator. |
|
Controlled gate. |
|
Distance between two unitary Lmaps. |
Unitary gates¶
|
Identity gate. |
|
Diagonal phase shift gate. |
|
Quantum Fourier transform gate. |
|
Walsh-Hadamard gate. |
|
Modular incrementation gate. |
|
Modular multiplication gate. |
|
Modular adder gate. |
|
Swap gate. |
Linear maps¶
|
Copy dot. |
|
Plus dot. |
|
Epsilon tensor. |
Functions
|
Controlled gate. |
|
Copy dot. |
|
Distance between two unitary Lmaps. |
|
Epsilon tensor. |
|
Identity gate. |
|
Modular adder gate. |
|
Modular incrementation gate. |
|
Modular multiplication gate. |
|
Diagonal phase shift gate. |
|
Plus dot. |
|
Single-qudit operator. |
|
Swap gate. |
|
Two-qudit operator. |
|
Walsh-Hadamard gate. |