Crate quest_bind

Source

Structs§

ComplexMatrix2
ComplexMatrix4
ComplexMatrixN
DiagonalOp
PauliHamil
QuestEnv
Information about the QuEST environment.
Qureg
Vector

Enums§

BitEncoding
PauliOpType
PhaseFunc
PhaseGateType
QuestError

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 passed real and imag 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.

Type Aliases§

Qcomplex
Qreal