Qrack
9.13
General classical-emulating-quantum development framework
|
#include "qbdt_node_interface.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_NODE_0(c) (norm(c) <= _qrack_qbdt_sep_thresh) |
#define | IS_SAME_AMP(a, b) (norm((a) - (b)) <= _qrack_qbdt_sep_thresh) |
Functions | |
bool | Qrack::operator== (QBdtNodeInterfacePtr lhs, QBdtNodeInterfacePtr rhs) |
bool | Qrack::operator!= (QBdtNodeInterfacePtr lhs, QBdtNodeInterfacePtr rhs) |
#define IS_NODE_0 | ( | c | ) | (norm(c) <= _qrack_qbdt_sep_thresh) |
#define IS_SAME_AMP | ( | a, | |
b | |||
) | (norm((a) - (b)) <= _qrack_qbdt_sep_thresh) |