Qrack  9.9
General classical-emulating-quantum development framework
Namespaces | Variables
gates.cpp File Reference
#include "qinterface.hpp"
Include dependency graph for gates.cpp:

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.
 

Variables

QRACK_CONST complex Qrack::C_SQRT1_2 = complex(SQRT1_2_R1, ZERO_R1)
 
QRACK_CONST complex Qrack::C_SQRT_I = complex(SQRT1_2_R1, SQRT1_2_R1)
 
QRACK_CONST complex Qrack::C_SQRT_N_I = complex(SQRT1_2_R1, -SQRT1_2_R1)
 
QRACK_CONST complex Qrack::I_CMPLX_NEG = complex(ZERO_R1, -ONE_R1)
 
QRACK_CONST complex Qrack::C_SQRT1_2_NEG = complex(-SQRT1_2_R1, ZERO_R1)