![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for effecting destructive measurements. More...
Functions | |
qreal | applyForcedMultiQubitMeasurement (Qureg qureg, int *qubits, int *outcomes, int numQubits) |
qreal | applyForcedQubitMeasurement (Qureg qureg, int target, int outcome) |
qindex | applyMultiQubitMeasurement (Qureg qureg, int *qubits, int numQubits) |
qindex | applyMultiQubitMeasurementAndGetProb (Qureg qureg, int *qubits, int numQubits, qreal *probability) |
int | applyQubitMeasurement (Qureg qureg, int target) |
int | applyQubitMeasurementAndGetProb (Qureg qureg, int target, qreal *probability) |
Functions for effecting destructive measurements.
qreal applyForcedMultiQubitMeasurement | ( | Qureg | qureg, |
int * | qubits, | ||
int * | outcomes, | ||
int | numQubits ) |
Definition at line 1417 of file operations.cpp.
Referenced by TEST_CASE().
qreal applyForcedQubitMeasurement | ( | Qureg | qureg, |
int | target, | ||
int | outcome ) |
Definition at line 1347 of file operations.cpp.
Referenced by TEST_CASE().
qindex applyMultiQubitMeasurement | ( | Qureg | qureg, |
int * | qubits, | ||
int | numQubits ) |
Definition at line 1378 of file operations.cpp.
Referenced by TEST_CASE().
qindex applyMultiQubitMeasurementAndGetProb | ( | Qureg | qureg, |
int * | qubits, | ||
int | numQubits, | ||
qreal * | probability ) |
Definition at line 1388 of file operations.cpp.
Referenced by applyMultiQubitMeasurement(), and TEST_CASE().
int applyQubitMeasurement | ( | Qureg | qureg, |
int | target ) |
Definition at line 1314 of file operations.cpp.
Referenced by TEST_CASE().
int applyQubitMeasurementAndGetProb | ( | Qureg | qureg, |
int | target, | ||
qreal * | probability ) |
Definition at line 1322 of file operations.cpp.
Referenced by applyQubitMeasurement(), and TEST_CASE().