Quantum++
v1.1
A modern C++11 quantum computing library
|
Constants. More...
Go to the source code of this file.
Namespaces | |
qpp | |
Quantum++ main namespace. | |
qpp::literals | |
Functions | |
constexpr cplx | qpp::literals::operator"" _i (unsigned long long int x) noexcept |
User-defined literal for complex ![]() | |
constexpr cplx | qpp::operator"" _i (long double x) noexcept |
User-defined literal for complex ![]() | |
cplx | qpp::omega (idx D) |
D-th root of unity. More... | |
Variables | |
constexpr double | qpp::chop = 1e-10 |
Used in qpp::disp() for setting to zero numbers that have their absolute value smaller than qpp::chop. More... | |
constexpr double | qpp::eps = 1e-12 |
Used to decide whether a number or expression in double precision is zero or not. More... | |
constexpr idx | qpp::maxn = 64 |
Maximum number of allowed qubits/qudits (subsystems) More... | |
constexpr double | qpp::pi = 3.141592653589793238462643383279502884 |
![]() | |
constexpr double | qpp::ee = 2.718281828459045235360287471352662497 |
Base of natural logarithm, ![]() | |
constexpr double | qpp::infty = std::numeric_limits<double>::max() |
Used to denote infinity in double precision. More... | |
Constants.