Qrack  9.13
General classical-emulating-quantum development framework
Classes | Namespaces | Macros | Typedefs
qengineshard.hpp File Reference
#include "qinterface.hpp"
Include dependency graph for qengineshard.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Qrack::PhaseShard
 Caches controlled gate phase between shards, (as a case of "gate fusion" optimization particularly useful to QUnit) More...
 
class  Qrack::QEngineShard
 Associates a QInterface object with a set of bits. More...
 
class  Qrack::QEngineShardMap
 

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_ARG_0(c)   IS_SAME(c, ONE_CMPLX)
 
#define IS_ARG_PI(c)   IS_OPPOSITE(c, ONE_CMPLX)
 

Typedefs

typedef QEngineShard * Qrack::QEngineShardPtr
 
typedef std::shared_ptr< PhaseShard > Qrack::PhaseShardPtr
 
typedef std::map< QEngineShardPtr, PhaseShardPtr > Qrack::ShardToPhaseMap
 

Macro Definition Documentation

◆ IS_ARG_0

#define IS_ARG_0 (   c)    IS_SAME(c, ONE_CMPLX)

◆ IS_ARG_PI

#define IS_ARG_PI (   c)    IS_OPPOSITE(c, ONE_CMPLX)