Qrack  9.0
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
 

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)