![]() |
The Quantum Exact Simulation Toolkit v4.0.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 55 of file test_operators.cpp.
TEST_CASE | ( | "applyFullQFT" | , |
"" | [operators] ) |
Definition at line 104 of file test_operators.cpp.
TEST_CASE | ( | "applyGateMatrixN" | , |
"" | [operators] ) |
Definition at line 224 of file test_operators.cpp.
TEST_CASE | ( | "applyGateSubDiagonalOp" | , |
"" | [operators] ) |
Definition at line 335 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrix2" | , |
"" | [operators] ) |
Definition at line 439 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrix4" | , |
"" | [operators] ) |
Definition at line 489 of file test_operators.cpp.
TEST_CASE | ( | "applyMatrixN" | , |
"" | [operators] ) |
Definition at line 556 of file test_operators.cpp.
TEST_CASE | ( | "applyMultiControlledGateMatrixN" | , |
"" | [operators] ) |
Definition at line 670 of file test_operators.cpp.
TEST_CASE | ( | "applyProjector" | , |
"" | [operators] ) |
Definition at line 3771 of file test_operators.cpp.
TEST_CASE | ( | "applyQFT" | , |
"" | [operators] ) |
Definition at line 3906 of file test_operators.cpp.
TEST_CASE | ( | "applySubDiagonalOp" | , |
"" | [operators] ) |
Definition at line 4059 of file test_operators.cpp.
TEST_CASE | ( | "calcDensityInnerProduct" | , |
"" | [calculations] ) |
Definition at line 36 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecDiagonalOp" | , |
"" | [calculations] ) |
Definition at line 136 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecPauliProd" | , |
"" | [calculations] ) |
Definition at line 322 of file test_calculations.cpp.
TEST_CASE | ( | "calcExpecPauliSum" | , |
"" | [calculations] ) |
Definition at line 496 of file test_calculations.cpp.
TEST_CASE | ( | "calcFidelity" | , |
"" | [calculations] ) |
Definition at line 621 of file test_calculations.cpp.
TEST_CASE | ( | "calcHilbertSchmidtDistance" | , |
"" | [calculations] ) |
Definition at line 781 of file test_calculations.cpp.
TEST_CASE | ( | "calcInnerProduct" | , |
"" | [calculations] ) |
Definition at line 880 of file test_calculations.cpp.
TEST_CASE | ( | "calcProbOfAllOutcomes" | , |
"" | [calculations] ) |
Definition at line 958 of file test_calculations.cpp.
TEST_CASE | ( | "calcProbOfOutcome" | , |
"" | [calculations] ) |
Definition at line 1090 of file test_calculations.cpp.
TEST_CASE | ( | "calcPurity" | , |
"" | [calculations] ) |
Definition at line 1208 of file test_calculations.cpp.
TEST_CASE | ( | "calcTotalProb" | , |
"" | [calculations] ) |
Definition at line 1282 of file test_calculations.cpp.
TEST_CASE | ( | "cloneQureg" | , |
"" | [state_initialisations] ) |
Definition at line 32 of file test_state_initialisations.cpp.
TEST_CASE | ( | "collapseToOutcome" | , |
"" | [gates] ) |
Definition at line 39 of file test_gates.cpp.
TEST_CASE | ( | "compactUnitary" | , |
"" | [unitaries] ) |
Definition at line 57 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledCompactUnitary" | , |
"" | [unitaries] ) |
Definition at line 238 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledMultiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 298 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledNot" | , |
"" | [unitaries] ) |
Definition at line 447 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPauliY" | , |
"" | [unitaries] ) |
Definition at line 493 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPhaseFlip" | , |
"" | [unitaries] ) |
Definition at line 539 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledPhaseShift" | , |
"" | [unitaries] ) |
Definition at line 588 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateAroundAxis" | , |
"" | [unitaries] ) |
Definition at line 637 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateX" | , |
"" | [unitaries] ) |
Definition at line 702 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateY" | , |
"" | [unitaries] ) |
Definition at line 751 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledRotateZ" | , |
"" | [unitaries] ) |
Definition at line 798 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledTwoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 845 of file test_unitaries.cpp.
TEST_CASE | ( | "controlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 925 of file test_unitaries.cpp.
TEST_CASE | ( | "createCloneQureg" | , |
"" | [data_structures] ) |
Definition at line 91 of file test_data_structures.cpp.
TEST_CASE | ( | "createComplexMatrixN" | , |
"" | [data_structures] ) |
Definition at line 159 of file test_data_structures.cpp.
TEST_CASE | ( | "createDensityQureg" | , |
"" | [data_structures] ) |
Definition at line 187 of file test_data_structures.cpp.
TEST_CASE | ( | "createDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 257 of file test_data_structures.cpp.
TEST_CASE | ( | "createQuESTEnv" | , |
"" | [data_structures] ) |
Definition at line 689 of file test_data_structures.cpp.
TEST_CASE | ( | "createQureg" | , |
"" | [data_structures] ) |
Definition at line 701 of file test_data_structures.cpp.
TEST_CASE | ( | "createSubDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 769 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyComplexMatrixN" | , |
"" | [data_structures] ) |
Definition at line 802 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 833 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyPauliHamil" | , |
"" | [data_structures] ) |
Definition at line 845 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyQuESTEnv" | , |
"" | [data_structures] ) |
Definition at line 862 of file test_data_structures.cpp.
TEST_CASE | ( | "destroyQureg" | , |
"" | [data_structures] ) |
Definition at line 874 of file test_data_structures.cpp.
TEST_CASE | ( | "destroySubDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 891 of file test_data_structures.cpp.
TEST_CASE | ( | "diagonalUnitary" | , |
"" | [unitaries] ) |
Definition at line 110 of file test_unitaries.cpp.
TEST_CASE | ( | "getAmp" | , |
"" | [calculations] ) |
Definition at line 1349 of file test_calculations.cpp.
TEST_CASE | ( | "getDensityAmp" | , |
"" | [calculations] ) |
Definition at line 1388 of file test_calculations.cpp.
TEST_CASE | ( | "getImagAmp" | , |
"" | [calculations] ) |
Definition at line 1431 of file test_calculations.cpp.
TEST_CASE | ( | "getNumAmps" | , |
"" | [calculations] ) |
Definition at line 1469 of file test_calculations.cpp.
TEST_CASE | ( | "getNumQubits" | , |
"" | [calculations] ) |
Definition at line 1502 of file test_calculations.cpp.
TEST_CASE | ( | "getProbAmp" | , |
"" | [calculations] ) |
Definition at line 1539 of file test_calculations.cpp.
TEST_CASE | ( | "getRealAmp" | , |
"" | [calculations] ) |
Definition at line 1582 of file test_calculations.cpp.
TEST_CASE | ( | "hadamard" | , |
"" | [unitaries] ) |
Definition at line 977 of file test_unitaries.cpp.
TEST_CASE | ( | "initArbitraryPureState" | , |
"" | [state_initialisations] ) |
Definition at line 303 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initBlankState" | , |
"" | [state_initialisations] ) |
Definition at line 107 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initClassicalState" | , |
"" | [state_initialisations] ) |
Definition at line 140 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initPlusState" | , |
"" | [state_initialisations] ) |
Definition at line 183 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initPureState" | , |
"" | [state_initialisations] ) |
Definition at line 228 of file test_state_initialisations.cpp.
TEST_CASE | ( | "initZeroState" | , |
"" | [state_initialisations] ) |
Definition at line 342 of file test_state_initialisations.cpp.
TEST_CASE | ( | "measure" | , |
"" | [gates] ) |
Definition at line 145 of file test_gates.cpp.
TEST_CASE | ( | "measureWithStats" | , |
"" | [gates] ) |
Definition at line 237 of file test_gates.cpp.
TEST_CASE | ( | "mixDamping" | , |
"" | [decoherence] ) |
Definition at line 51 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDensityMatrix" | , |
"" | [decoherence] ) |
Definition at line 102 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDephasing" | , |
"" | [decoherence] ) |
Definition at line 166 of file test_decoherence.cpp.
TEST_CASE | ( | "mixDepolarising" | , |
"" | [decoherence] ) |
Definition at line 213 of file test_decoherence.cpp.
TEST_CASE | ( | "mixKrausMap" | , |
"" | [decoherence] ) |
Definition at line 591 of file test_decoherence.cpp.
TEST_CASE | ( | "mixMultiQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 263 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPKrausMap" | , |
"" | [decoherence] ) |
Definition at line 672 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPMultiQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 741 of file test_decoherence.cpp.
TEST_CASE | ( | "mixNonTPTwoQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 959 of file test_decoherence.cpp.
TEST_CASE | ( | "mixPauli" | , |
"" | [decoherence] ) |
Definition at line 510 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitDephasing" | , |
"" | [decoherence] ) |
Definition at line 1039 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitDepolarising" | , |
"" | [decoherence] ) |
Definition at line 1099 of file test_decoherence.cpp.
TEST_CASE | ( | "mixTwoQubitKrausMap" | , |
"" | [decoherence] ) |
Definition at line 1167 of file test_decoherence.cpp.
TEST_CASE | ( | "multiControlledMultiQubitNot" | , |
"" | [unitaries] ) |
Definition at line 1017 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1116 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiRotatePauli" | , |
"" | [unitaries] ) |
Definition at line 1293 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledMultiRotateZ" | , |
"" | [unitaries] ) |
Definition at line 1475 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledPhaseFlip" | , |
"" | [unitaries] ) |
Definition at line 1595 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledPhaseShift" | , |
"" | [unitaries] ) |
Definition at line 1654 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledTwoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1712 of file test_unitaries.cpp.
TEST_CASE | ( | "multiControlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 1821 of file test_unitaries.cpp.
TEST_CASE | ( | "multiQubitNot" | , |
"" | [unitaries] ) |
Definition at line 1893 of file test_unitaries.cpp.
TEST_CASE | ( | "multiQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 1960 of file test_unitaries.cpp.
TEST_CASE | ( | "multiRotatePauli" | , |
"" | [unitaries] ) |
Definition at line 2085 of file test_unitaries.cpp.
TEST_CASE | ( | "multiRotateZ" | , |
"" | [unitaries] ) |
Definition at line 2196 of file test_unitaries.cpp.
TEST_CASE | ( | "multiStateControlledUnitary" | , |
"" | [unitaries] ) |
Definition at line 2269 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliX" | , |
"" | [unitaries] ) |
Definition at line 2379 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliY" | , |
"" | [unitaries] ) |
Definition at line 2418 of file test_unitaries.cpp.
TEST_CASE | ( | "pauliZ" | , |
"" | [unitaries] ) |
Definition at line 2457 of file test_unitaries.cpp.
TEST_CASE | ( | "phaseShift" | , |
"" | [unitaries] ) |
Definition at line 2496 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateAroundAxis" | , |
"" | [unitaries] ) |
Definition at line 2536 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateX" | , |
"" | [unitaries] ) |
Definition at line 2597 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateY" | , |
"" | [unitaries] ) |
Definition at line 2639 of file test_unitaries.cpp.
TEST_CASE | ( | "rotateZ" | , |
"" | [unitaries] ) |
Definition at line 2679 of file test_unitaries.cpp.
TEST_CASE | ( | "setQuregAmps" | , |
"" | [state_initialisations] ) |
Definition at line 383 of file test_state_initialisations.cpp.
TEST_CASE | ( | "setWeightedQureg" | , |
"" | [state_initialisations] ) |
Definition at line 596 of file test_state_initialisations.cpp.
TEST_CASE | ( | "sGate" | , |
"" | [unitaries] ) |
Definition at line 2719 of file test_unitaries.cpp.
TEST_CASE | ( | "sqrtSwapGate" | , |
"" | [unitaries] ) |
Definition at line 2758 of file test_unitaries.cpp.
TEST_CASE | ( | "swapGate" | , |
"" | [unitaries] ) |
Definition at line 2808 of file test_unitaries.cpp.
TEST_CASE | ( | "syncDiagonalOp" | , |
"" | [data_structures] ) |
Definition at line 1204 of file test_data_structures.cpp.
TEST_CASE | ( | "tGate" | , |
"" | [unitaries] ) |
Definition at line 2856 of file test_unitaries.cpp.
TEST_CASE | ( | "twoQubitUnitary" | , |
"" | [unitaries] ) |
Definition at line 2895 of file test_unitaries.cpp.
TEST_CASE | ( | "unitary" | , |
"" | [unitaries] ) |
Definition at line 2962 of file test_unitaries.cpp.