Qrack
9.0
General classical-emulating-quantum development framework
|
Namespaces | |
Qrack | |
Macros | |
#define | _INTPOW(type, fn) |
Functions | |
unsigned char * | Qrack::cl_alloc (size_t ucharCount) |
void | Qrack::cl_free (void *toFree) |
void | Qrack::mul2x2 (complex const *left, complex const *right, complex *out) |
void | Qrack::_expLog2x2 (complex const *matrix2x2, complex *outMatrix2x2, bool isExp) |
void | Qrack::exp2x2 (complex const *matrix2x2, complex *outMatrix2x2) |
void | Qrack::log2x2 (complex const *matrix2x2, complex *outMatrix2x2) |
void | Qrack::inv2x2 (complex const *matrix2x2, complex *outMatrix2x2) |
bool | Qrack::isOverflowAdd (bitCapInt inOutInt, bitCapInt inInt, const bitCapInt &signMask, const bitCapInt &lengthPower) |
Check if an addition with overflow sets the flag. More... | |
bool | Qrack::isOverflowSub (bitCapInt inOutInt, bitCapInt inInt, const bitCapInt &signMask, const bitCapInt &lengthPower) |
Check if a subtraction with overflow sets the flag. More... | |
bitCapInt | Qrack::pushApartBits (const bitCapInt &perm, const std::vector< bitCapInt > &skipPowers) |
#define _INTPOW | ( | type, | |
fn | |||
) |