Examples
A small collection of examples that demonstrate the various uses and functionality of the package. It is divided into two chapters. The first is Quantum algorithms and protocols, which consists of standard processes and circuits that are significant to the fields of quantum computing and quantum information science. The second chapter is Quantum closed timelike curves, which contains more exotic circuits involving antichronological time travel, particularly in the presence of physically interesting unitary interactions.
Quantum algorithms and protocols
- Generation of a Bell state
- Generation of a GHZ state
- Generation of a generalized GHZ state
- Generation of a W state
- Generation of a generalized W state
- CNOT (controlled-NOT)
- CCNOT (controlled-controlled-NOT)
- Toffoli decomposition
- Half adder
- Full adder
- Ripple-carry adder
- Ripple-carry adder (iterative)
- Carry-lookahead adder
- Fourier transform adder
- Quantum teleportation
- PSWAP (power-SWAP)
- iSWAP (imaginary-SWAP)
- Quantum state tomography
- Quantum state tomography via weak measurements
Quantum closed timelike curves