Qrack  9.13
General classical-emulating-quantum development framework
Namespaces | Macros | Functions
node_interface.cpp File Reference
#include "qbdt_node_interface.hpp"
Include dependency graph for node_interface.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.
 

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)
 

Macro Definition Documentation

◆ IS_NODE_0

#define IS_NODE_0 (   c)    (norm(c) <= _qrack_qbdt_sep_thresh)

◆ IS_SAME_AMP

#define IS_SAME_AMP (   a,
 
)    (norm((a) - (b)) <= _qrack_qbdt_sep_thresh)