![]() |
The Quantum Exact Simulation Toolkit v4.2.0
|
Unit tests of QuEST's deprecated v3 API functions. More...
Functions | |
TEST_CASE ("applyDiagonalOp", "[operators]") | |
TEST_CASE ("applyFullQFT", "[operators]") | |
TEST_CASE ("applyGateMatrixN", "[operators]") | |
TEST_CASE ("applyGateSubDiagonalOp", "[operators]") | |
TEST_CASE ("applyMatrix2", "[operators]") | |
TEST_CASE ("applyMatrix4", "[operators]") | |
TEST_CASE ("applyMatrixN", "[operators]") | |
TEST_CASE ("applyMultiControlledGateMatrixN", "[operators]") | |
TEST_CASE ("applyProjector", "[operators]") | |
TEST_CASE ("applyQFT", "[operators]") | |
TEST_CASE ("applySubDiagonalOp", "[operators]") | |
TEST_CASE ("calcDensityInnerProduct", "[calculations]") | |
TEST_CASE ("calcExpecDiagonalOp", "[calculations]") | |
TEST_CASE ("calcExpecPauliProd", "[calculations]") | |
TEST_CASE ("calcExpecPauliSum", "[calculations]") | |
TEST_CASE ("calcFidelity", "[calculations]") | |
TEST_CASE ("calcHilbertSchmidtDistance", "[calculations]") | |
TEST_CASE ("calcInnerProduct", "[calculations]") | |
TEST_CASE ("calcProbOfAllOutcomes", "[calculations]") | |
TEST_CASE ("calcProbOfOutcome", "[calculations]") | |
TEST_CASE ("calcPurity", "[calculations]") | |
TEST_CASE ("calcTotalProb", "[calculations]") | |
TEST_CASE ("cloneQureg", "[state_initialisations]") | |
TEST_CASE ("collapseToOutcome", "[gates]") | |
TEST_CASE ("compactUnitary", "[unitaries]") | |
TEST_CASE ("controlledCompactUnitary", "[unitaries]") | |
TEST_CASE ("controlledMultiQubitUnitary", "[unitaries]") | |
TEST_CASE ("controlledNot", "[unitaries]") | |
TEST_CASE ("controlledPauliY", "[unitaries]") | |
TEST_CASE ("controlledPhaseFlip", "[unitaries]") | |
TEST_CASE ("controlledPhaseShift", "[unitaries]") | |
TEST_CASE ("controlledRotateAroundAxis", "[unitaries]") | |
TEST_CASE ("controlledRotateX", "[unitaries]") | |
TEST_CASE ("controlledRotateY", "[unitaries]") | |
TEST_CASE ("controlledRotateZ", "[unitaries]") | |
TEST_CASE ("controlledTwoQubitUnitary", "[unitaries]") | |
TEST_CASE ("controlledUnitary", "[unitaries]") | |
TEST_CASE ("createCloneQureg", "[data_structures]") | |
TEST_CASE ("createComplexMatrixN", "[data_structures]") | |
TEST_CASE ("createDensityQureg", "[data_structures]") | |
TEST_CASE ("createDiagonalOp", "[data_structures]") | |
TEST_CASE ("createQuESTEnv", "[data_structures]") | |
TEST_CASE ("createQureg", "[data_structures]") | |
TEST_CASE ("createSubDiagonalOp", "[data_structures]") | |
TEST_CASE ("destroyComplexMatrixN", "[data_structures]") | |
TEST_CASE ("destroyDiagonalOp", "[data_structures]") | |
TEST_CASE ("destroyPauliHamil", "[data_structures]") | |
TEST_CASE ("destroyQuESTEnv", "[data_structures]") | |
TEST_CASE ("destroyQureg", "[data_structures]") | |
TEST_CASE ("destroySubDiagonalOp", "[data_structures]") | |
TEST_CASE ("diagonalUnitary", "[unitaries]") | |
TEST_CASE ("getAmp", "[calculations]") | |
TEST_CASE ("getDensityAmp", "[calculations]") | |
TEST_CASE ("getImagAmp", "[calculations]") | |
TEST_CASE ("getNumAmps", "[calculations]") | |
TEST_CASE ("getNumQubits", "[calculations]") | |
TEST_CASE ("getProbAmp", "[calculations]") | |
TEST_CASE ("getRealAmp", "[calculations]") | |
TEST_CASE ("hadamard", "[unitaries]") | |
TEST_CASE ("initArbitraryPureState", "[state_initialisations]") | |
TEST_CASE ("initBlankState", "[state_initialisations]") | |
TEST_CASE ("initClassicalState", "[state_initialisations]") | |
TEST_CASE ("initPlusState", "[state_initialisations]") | |
TEST_CASE ("initPureState", "[state_initialisations]") | |
TEST_CASE ("initZeroState", "[state_initialisations]") | |
TEST_CASE ("measure", "[gates]") | |
TEST_CASE ("measureWithStats", "[gates]") | |
TEST_CASE ("mixDamping", "[decoherence]") | |
TEST_CASE ("mixDensityMatrix", "[decoherence]") | |
TEST_CASE ("mixDephasing", "[decoherence]") | |
TEST_CASE ("mixDepolarising", "[decoherence]") | |
TEST_CASE ("mixKrausMap", "[decoherence]") | |
TEST_CASE ("mixMultiQubitKrausMap", "[decoherence]") | |
TEST_CASE ("mixNonTPKrausMap", "[decoherence]") | |
TEST_CASE ("mixNonTPMultiQubitKrausMap", "[decoherence]") | |
TEST_CASE ("mixNonTPTwoQubitKrausMap", "[decoherence]") | |
TEST_CASE ("mixPauli", "[decoherence]") | |
TEST_CASE ("mixTwoQubitDephasing", "[decoherence]") | |
TEST_CASE ("mixTwoQubitDepolarising", "[decoherence]") | |
TEST_CASE ("mixTwoQubitKrausMap", "[decoherence]") | |
TEST_CASE ("multiControlledMultiQubitNot", "[unitaries]") | |
TEST_CASE ("multiControlledMultiQubitUnitary", "[unitaries]") | |
TEST_CASE ("multiControlledMultiRotatePauli", "[unitaries]") | |
TEST_CASE ("multiControlledMultiRotateZ", "[unitaries]") | |
TEST_CASE ("multiControlledPhaseFlip", "[unitaries]") | |
TEST_CASE ("multiControlledPhaseShift", "[unitaries]") | |
TEST_CASE ("multiControlledTwoQubitUnitary", "[unitaries]") | |
TEST_CASE ("multiControlledUnitary", "[unitaries]") | |
TEST_CASE ("multiQubitNot", "[unitaries]") | |
TEST_CASE ("multiQubitUnitary", "[unitaries]") | |
TEST_CASE ("multiRotatePauli", "[unitaries]") | |
TEST_CASE ("multiRotateZ", "[unitaries]") | |
TEST_CASE ("multiStateControlledUnitary", "[unitaries]") | |
TEST_CASE ("pauliX", "[unitaries]") | |
TEST_CASE ("pauliY", "[unitaries]") | |
TEST_CASE ("pauliZ", "[unitaries]") | |
TEST_CASE ("phaseShift", "[unitaries]") | |
TEST_CASE ("rotateAroundAxis", "[unitaries]") | |
TEST_CASE ("rotateX", "[unitaries]") | |
TEST_CASE ("rotateY", "[unitaries]") | |
TEST_CASE ("rotateZ", "[unitaries]") | |
TEST_CASE ("setQuregAmps", "[state_initialisations]") | |
TEST_CASE ("setWeightedQureg", "[state_initialisations]") | |
TEST_CASE ("sGate", "[unitaries]") | |
TEST_CASE ("sqrtSwapGate", "[unitaries]") | |
TEST_CASE ("swapGate", "[unitaries]") | |
TEST_CASE ("syncDiagonalOp", "[data_structures]") | |
TEST_CASE ("tGate", "[unitaries]") | |
TEST_CASE ("twoQubitUnitary", "[unitaries]") | |
TEST_CASE ("unitary", "[unitaries]") | |
Unit tests of QuEST's deprecated v3 API functions.
TEST_CASE | ( | "applyDiagonalOp" | , |
"" | [operators] ) |
Definition at line 49 of file test_operators.cpp.
TEST_CASE | ( | "applyFullQFT" | , |
"" | [operators] ) |
Definition at line 98 of file test_operators.cpp.
TEST_CASE | ( | "applyGateMatrixN" | , |
"" | [operators] ) |
Definition at line 218 of file test_operators.cpp.
TEST_CASE | ( | "applyGateSubDiagonalOp" | , |
"" | [operators] ) |
Definition at line 329 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrix2" | , |
"" | [operators] ) |
Definition at line 433 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrix4" | , |
"" | [operators] ) |
Definition at line 483 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrixN" | , |
"" | [operators] ) |
Definition at line 550 of file test_operators.cpp.
TEST_CASE | ( | "applyMultiControlledGateMatrixN" | , |
"" | [operators] ) |
Definition at line 664 of file test_operators.cpp.
TEST_CASE | ( | "applyProjector" | , |
"" | [operators] ) |
Definition at line 3765 of file test_operators.cpp.
TEST_CASE | ( | "applyQFT" | , |
"" | [operators] ) |
Definition at line 3900 of file test_operators.cpp.
TEST_CASE | ( | "applySubDiagonalOp" | , |
"" | [operators] ) |
Definition at line 4053 of file test_operators.cpp.
TEST_CASE | ( | "calcDensityInnerProduct" | , |
"" | [calculations] ) |
Definition at line 30 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecDiagonalOp" | , |
"" | [calculations] ) |
Definition at line 130 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecPauliProd" | , |
"" | [calculations] ) |
Definition at line 316 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecPauliSum" | , |
"" | [calculations] ) |
Definition at line 490 of file test_calculations.cpp.
TEST_CASE | ( | "calcFidelity" | , |
"" | [calculations] ) |
Definition at line 615 of file test_calculations.cpp.
TEST_CASE | ( | "calcHilbertSchmidtDistance" | , |
"" | [calculations] ) |
Definition at line 775 of file test_calculations.cpp.
TEST_CASE | ( | "calcInnerProduct" | , |
"" | [calculations] ) |
Definition at line 874 of file test_calculations.cpp.
TEST_CASE | ( | "calcProbOfAllOutcomes" | , |
"" | [calculations] ) |
Definition at line 952 of file test_calculations.cpp.
TEST_CASE | ( | "calcProbOfOutcome" | , |
"" | [calculations] ) |
Definition at line 1084 of file test_calculations.cpp.
TEST_CASE | ( | "calcPurity" | , |
"" | [calculations] ) |
Definition at line 1202 of file test_calculations.cpp.
TEST_CASE | ( | "calcTotalProb" | , |
"" | [calculations] ) |
Definition at line 1276 of file test_calculations.cpp.
TEST_CASE | ( | "cloneQureg" | , |
"" | [state_initialisations] ) |
Definition at line 29 of file test_state_initialisations.cpp.
TEST_CASE | ( | "collapseToOutcome" | , |
"" | [gates] ) |
Definition at line 33 of file test_gates.cpp.
TEST_CASE | ( | "compactUnitary" | , |
"" | [unitaries] ) |
Definition at line 51 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledCompactUnitary" | , |
"" | [unitaries] ) |
Definition at line 232 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledMultiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 292 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledNot" | , |
"" | [unitaries] ) |
Definition at line 441 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPauliY" | , |
"" | [unitaries] ) |
Definition at line 487 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPhaseFlip" | , |
"" | [unitaries] ) |
Definition at line 533 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPhaseShift" | , |
"" | [unitaries] ) |
Definition at line 582 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateAroundAxis" | , |
"" | [unitaries] ) |
Definition at line 631 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateX" | , |
"" | [unitaries] ) |
Definition at line 696 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateY" | , |
"" | [unitaries] ) |
Definition at line 745 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateZ" | , |
"" | [unitaries] ) |
Definition at line 792 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledTwoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 839 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 919 of file test_unitaries.cpp.
TEST_CASE | ( | "createCloneQureg" | , |
"" | [data_structures] ) |
Definition at line 85 of file test_data_structures.cpp.
TEST_CASE | ( | "createComplexMatrixN" | , |
"" | [data_structures] ) |
Definition at line 153 of file test_data_structures.cpp.
TEST_CASE | ( | "createDensityQureg" | , |
"" | [data_structures] ) |
Definition at line 181 of file test_data_structures.cpp.
TEST_CASE | ( | "createDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 251 of file test_data_structures.cpp.
TEST_CASE | ( | "createQuESTEnv" | , |
"" | [data_structures] ) |
Definition at line 683 of file test_data_structures.cpp.
TEST_CASE | ( | "createQureg" | , |
"" | [data_structures] ) |
Definition at line 695 of file test_data_structures.cpp.
TEST_CASE | ( | "createSubDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 763 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyComplexMatrixN" | , |
"" | [data_structures] ) |
Definition at line 796 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 827 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyPauliHamil" | , |
"" | [data_structures] ) |
Definition at line 839 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyQuESTEnv" | , |
"" | [data_structures] ) |
Definition at line 856 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyQureg" | , |
"" | [data_structures] ) |
Definition at line 868 of file test_data_structures.cpp.
TEST_CASE | ( | "destroySubDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 885 of file test_data_structures.cpp.
TEST_CASE | ( | "diagonalUnitary" | , |
"" | [unitaries] ) |
Definition at line 104 of file test_unitaries.cpp.
TEST_CASE | ( | "getAmp" | , |
"" | [calculations] ) |
Definition at line 1343 of file test_calculations.cpp.
TEST_CASE | ( | "getDensityAmp" | , |
"" | [calculations] ) |
Definition at line 1382 of file test_calculations.cpp.
TEST_CASE | ( | "getImagAmp" | , |
"" | [calculations] ) |
Definition at line 1425 of file test_calculations.cpp.
TEST_CASE | ( | "getNumAmps" | , |
"" | [calculations] ) |
Definition at line 1463 of file test_calculations.cpp.
TEST_CASE | ( | "getNumQubits" | , |
"" | [calculations] ) |
Definition at line 1496 of file test_calculations.cpp.
TEST_CASE | ( | "getProbAmp" | , |
"" | [calculations] ) |
Definition at line 1533 of file test_calculations.cpp.
TEST_CASE | ( | "getRealAmp" | , |
"" | [calculations] ) |
Definition at line 1576 of file test_calculations.cpp.
TEST_CASE | ( | "hadamard" | , |
"" | [unitaries] ) |
Definition at line 971 of file test_unitaries.cpp.
TEST_CASE | ( | "initArbitraryPureState" | , |
"" | [state_initialisations] ) |
Definition at line 300 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initBlankState" | , |
"" | [state_initialisations] ) |
Definition at line 104 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initClassicalState" | , |
"" | [state_initialisations] ) |
Definition at line 137 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initPlusState" | , |
"" | [state_initialisations] ) |
Definition at line 180 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initPureState" | , |
"" | [state_initialisations] ) |
Definition at line 225 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initZeroState" | , |
"" | [state_initialisations] ) |
Definition at line 339 of file test_state_initialisations.cpp.
TEST_CASE | ( | "measure" | , |
"" | [gates] ) |
Definition at line 139 of file test_gates.cpp.
TEST_CASE | ( | "measureWithStats" | , |
"" | [gates] ) |
Definition at line 231 of file test_gates.cpp.
TEST_CASE | ( | "mixDamping" | , |
"" | [decoherence] ) |
Definition at line 46 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDensityMatrix" | , |
"" | [decoherence] ) |
Definition at line 97 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDephasing" | , |
"" | [decoherence] ) |
Definition at line 161 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDepolarising" | , |
"" | [decoherence] ) |
Definition at line 208 of file test_decoherence.cpp.
TEST_CASE | ( | "mixKrausMap" | , |
"" | [decoherence] ) |
Definition at line 586 of file test_decoherence.cpp.
TEST_CASE | ( | "mixMultiQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 258 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPKrausMap" | , |
"" | [decoherence] ) |
Definition at line 667 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPMultiQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 736 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPTwoQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 954 of file test_decoherence.cpp.
TEST_CASE | ( | "mixPauli" | , |
"" | [decoherence] ) |
Definition at line 505 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitDephasing" | , |
"" | [decoherence] ) |
Definition at line 1034 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitDepolarising" | , |
"" | [decoherence] ) |
Definition at line 1094 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 1162 of file test_decoherence.cpp.
TEST_CASE | ( | "multiControlledMultiQubitNot" | , |
"" | [unitaries] ) |
Definition at line 1011 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1110 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiRotatePauli" | , |
"" | [unitaries] ) |
Definition at line 1287 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiRotateZ" | , |
"" | [unitaries] ) |
Definition at line 1469 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledPhaseFlip" | , |
"" | [unitaries] ) |
Definition at line 1589 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledPhaseShift" | , |
"" | [unitaries] ) |
Definition at line 1648 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledTwoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1706 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 1815 of file test_unitaries.cpp.
TEST_CASE | ( | "multiQubitNot" | , |
"" | [unitaries] ) |
Definition at line 1887 of file test_unitaries.cpp.
TEST_CASE | ( | "multiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1954 of file test_unitaries.cpp.
TEST_CASE | ( | "multiRotatePauli" | , |
"" | [unitaries] ) |
Definition at line 2079 of file test_unitaries.cpp.
TEST_CASE | ( | "multiRotateZ" | , |
"" | [unitaries] ) |
Definition at line 2190 of file test_unitaries.cpp.
TEST_CASE | ( | "multiStateControlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 2263 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliX" | , |
"" | [unitaries] ) |
Definition at line 2373 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliY" | , |
"" | [unitaries] ) |
Definition at line 2412 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliZ" | , |
"" | [unitaries] ) |
Definition at line 2451 of file test_unitaries.cpp.
TEST_CASE | ( | "phaseShift" | , |
"" | [unitaries] ) |
Definition at line 2490 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateAroundAxis" | , |
"" | [unitaries] ) |
Definition at line 2530 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateX" | , |
"" | [unitaries] ) |
Definition at line 2591 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateY" | , |
"" | [unitaries] ) |
Definition at line 2633 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateZ" | , |
"" | [unitaries] ) |
Definition at line 2673 of file test_unitaries.cpp.
TEST_CASE | ( | "setQuregAmps" | , |
"" | [state_initialisations] ) |
Definition at line 380 of file test_state_initialisations.cpp.
TEST_CASE | ( | "setWeightedQureg" | , |
"" | [state_initialisations] ) |
Definition at line 593 of file test_state_initialisations.cpp.
TEST_CASE | ( | "sGate" | , |
"" | [unitaries] ) |
Definition at line 2713 of file test_unitaries.cpp.
TEST_CASE | ( | "sqrtSwapGate" | , |
"" | [unitaries] ) |
Definition at line 2752 of file test_unitaries.cpp.
TEST_CASE | ( | "swapGate" | , |
"" | [unitaries] ) |
Definition at line 2802 of file test_unitaries.cpp.
TEST_CASE | ( | "syncDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 1198 of file test_data_structures.cpp.
TEST_CASE | ( | "tGate" | , |
"" | [unitaries] ) |
Definition at line 2850 of file test_unitaries.cpp.
TEST_CASE | ( | "twoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 2889 of file test_unitaries.cpp.
TEST_CASE | ( | "unitary" | , |
"" | [unitaries] ) |
Definition at line 2956 of file test_unitaries.cpp.