Structs§
- Complex
Matrix2 - Complex
Matrix4 - Complex
MatrixN - Diagonal
Op - Pauli
Hamil - Quest
Env - Information about the
QuEST
environment. - Qureg
- Vector
Enums§
Constants§
- EPSILON
- Machine epsilon value for
Qreal
- LN_2
- ln(2)
- LN_10
- ln(10)
- PI
- Archimedes’ constant (π)
- SQRT_2
- sqrt(2)
- TAU
- The full circle constant (τ)
Functions§
- apply_
diagonal_ op - Apply a diagonal operator to the entire
qureg
. - apply_
pauli_ hamil - Apply Hamiltonian
PauliHamil
. - apply_
pauli_ sum - Apply the weighted sum of Pauli products.
- calc_
density_ inner_ product - Computes the Hilbert-Schmidt scalar product.
- calc_
expec_ diagonal_ op - Computes the expected value of the diagonal operator
op
. - calc_
hilbert_ schmidt_ distance - Computes the Hilbert Schmidt distance between two density matrices.
- calc_
inner_ product - Computes the inner product of two equal-size state vectors.
- get_
quest_ seeds - Obtain the seeds presently used in random number generation.
- init_
complex_ matrix_ n - Initialises a
ComplexMatrixN
instance to have the passedreal
andimag
values. - init_
diagonal_ op - Overwrites the entire
DiagonalOp
with the given elements. - init_
diagonal_ op_ from_ pauli_ hamil - Populates the diagonal operator \p op to be equivalent to the given Pauli Hamiltonian
- init_
pauli_ hamil - Initialize
PauliHamil
instance with the given term coefficients - report_
pauli_ hamil - Print the Hamiltonian
hamil
to screen. - seed_
quest - Seeds the random number generator with a custom array of key(s).
- seed_
quest_ default - Seed the random number generator.
- set_
diagonal_ op_ elems - Modifies a subset of elements of
DiagonalOp
. - set_
weighted_ qureg - Set
qureg
to a weighted sum of states. - sync_
diagonal_ op - Update the GPU memory with the current values in
op
.