|
Qrack
10.0
General classical-emulating-quantum development framework
|
#include "qunit.hpp"#include "statevector_turboquant.hpp"#include <fstream>#include <map>#include <stdexcept>#include <vector>
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. | |
Functions | |
| static void | Qrack::_write_u64 (std::ostream &os, uint64_t v) |
| static void | Qrack::_write_sz (std::ostream &os, size_t v) |
| static void | Qrack::_write_int (std::ostream &os, int v) |
| static void | Qrack::_write_bool (std::ostream &os, bool v) |
| static void | Qrack::_write_cmplx (std::ostream &os, const complex &c) |
| static uint64_t | Qrack::_read_u64 (std::istream &is) |
| static size_t | Qrack::_read_sz (std::istream &is) |
| static int | Qrack::_read_int (std::istream &is) |
| static bool | Qrack::_read_bool (std::istream &is) |
| static complex | Qrack::_read_cmplx (std::istream &is) |
Variables | |
| static constexpr uint64_t | Qrack::QUNIT_TQ_MAGIC = 0x5155544E54510000ULL |