Expand description
§quest-sys
Rust bindings for the QuEST quantum computer simulator library.
Conforming with the sys crate naming convention this package only provides very thin bindings.
Structs§
- Complex
- Represents one complex number.
- Complex
Array - Represents an array of complex numbers grouped into an array of real components and an array of coressponding complex components.
- Complex
Matrix2 - Represents a 2x2 matrix of complex numbers.
- Complex
Matrix4 - Represents a 4x4 matrix of complex numbers
- Complex
MatrixN - Represents a general 2^N by 2^N matrix of complex numbers.
- Diagonal
Op - Represents a diagonal complex operator on the full Hilbert state of a \p Qureg. The operator need not be unitary nor Hermitian (which would constrain it to real values)
- Pauli
Hamil - A Pauli Hamiltonian, expressed as a real-weighted sum of pauli products, and which can hence represent any Hermitian operator.
- QASM
Logger - A logger of QASM instructions
- QuEST
Env - Information about the environment the program is running in. In practice, this holds info about MPI ranks and helps to hide MPI initialization code
- Qureg
- Represents a system of qubits. Qubits are zero-based
- SubDiagonal
Op - Represents a diagonal complex operator of a smaller dimension than the full Hilbert state of a \p Qureg.
- Vector
- Represents a 3-vector of real numbers
Constants§
- bitEncoding_
TWOS_ COMPLEMENT - bitEncoding_
UNSIGNED - pauli
OpType_ PAULI_ I - pauli
OpType_ PAULI_ X - pauli
OpType_ PAULI_ Y - pauli
OpType_ PAULI_ Z - phase
Func_ DISTANCE - phase
Func_ INVERSE_ DISTANCE - phase
Func_ INVERSE_ NORM - phase
Func_ INVERSE_ PRODUCT - phase
Func_ NORM - phase
Func_ PRODUCT - phase
Func_ SCALED_ DISTANCE - phase
Func_ SCALED_ INVERSE_ DISTANCE - phase
Func_ SCALED_ INVERSE_ NORM - phase
Func_ SCALED_ INVERSE_ PRODUCT - phase
Func_ SCALED_ INVERSE_ SHIFTED_ DISTANCE - phase
Func_ SCALED_ INVERSE_ SHIFTED_ NORM - phase
Func_ SCALED_ INVERSE_ SHIFTED_ WEIGHTED_ DISTANCE - phase
Func_ SCALED_ NORM - phase
Func_ SCALED_ PRODUCT
Type Aliases§
- bitEncoding
- Flags for specifying how the bits in sub-register computational basis states are mapped to indices in functions like applyPhaseFunc().
- pauli
OpType - Codes for specifying Pauli operators
- phase
Func - Flags for specifying named phase functions. These can be passed to functions applyNamedPhaseFunc(), applyNamedPhaseFuncOverrides(), applyParamNamedPhaseFunc(), and applyParamNamedPhaseFuncOverrides().