Qrack
9.13
General classical-emulating-quantum development framework
|
#include "qunitclifford.hpp"
Namespaces | |
Qrack | |
GLOSSARY: bitLenInt - "bit-length integer" - unsigned integer ID of qubit position in register bitCapInt - "bit-capacity integer" - unsigned integer single-permutation value of a qubit register (typically "big integer") real1 - "real number (1-dimensional)" - floating-point real-valued number complex - "complex number" - floating-point complex-valued number (with two real1 component dimensions) quid - "quantum (simulator) unique
identifier" - unsigned integer that indexes and IDs running simulators, circuits, and neurons. | |
Macros | |
#define | IS_0_R1(r) (abs(r) <= REAL1_EPSILON) |
#define | IS_1_R1(r) (abs(r) <= REAL1_EPSILON) |
#define | C_SQRT1_2 complex(M_SQRT1_2, ZERO_R1) |
#define | C_I_SQRT1_2 complex(ZERO_R1, M_SQRT1_2) |
Functions | |
std::ostream & | Qrack::operator<< (std::ostream &os, const QUnitCliffordPtr s) |
std::istream & | Qrack::operator>> (std::istream &is, const QUnitCliffordPtr s) |
#define C_I_SQRT1_2 complex(ZERO_R1, M_SQRT1_2) |
#define C_SQRT1_2 complex(M_SQRT1_2, ZERO_R1) |
#define IS_0_R1 | ( | r | ) | (abs(r) <= REAL1_EPSILON) |
#define IS_1_R1 | ( | r | ) | (abs(r) <= REAL1_EPSILON) |