Represents a system of qubits. More...
#include <QuEST.h>
Data Fields | |
int | chunkId |
The position of the chunk of the state vector held by this process in the full state vector. More... | |
ComplexArray | deviceStateVec |
Storage for wavefunction amplitudes in the GPU version. More... | |
qreal * | firstLevelReduction |
Storage for reduction of probabilities on GPU. More... | |
int | isDensityMatrix |
Whether this instance is a density-state representation. More... | |
long long int | numAmpsPerChunk |
Number of probability amplitudes held in stateVec by this process In the non-MPI version, this is the total number of amplitudes. More... | |
long long int | numAmpsTotal |
Total number of amplitudes, which are possibly distributed among machines. More... | |
int | numChunks |
Number of chunks the state vector is broken up into – the number of MPI processes used. More... | |
int | numQubitsInStateVec |
Number of qubits in the state-vector - this is double the number represented for mixed states. More... | |
int | numQubitsRepresented |
The number of qubits represented in either the state-vector or density matrix. More... | |
ComplexArray | pairStateVec |
Temporary storage for a chunk of the state vector received from another process in the MPI version. More... | |
QASMLogger * | qasmLog |
Storage for generated QASM output. More... | |
qreal * | secondLevelReduction |
ComplexArray | stateVec |
Computational state amplitudes - a subset thereof in the MPI version. More... | |
Detailed Description
Field Documentation
◆ chunkId
int Qureg::chunkId |
The position of the chunk of the state vector held by this process in the full state vector.
Definition at line 336 of file QuEST.h.
Referenced by areEqual(), compressPairVectorForSingleQubitDepolarise(), compressPairVectorForTwoQubitDepolarise(), copyDiagOpIntoMatrixPairState(), copyVecIntoMatrixPairState(), densmatr_calcExpecDiagonalOpLocal(), densmatr_calcFidelityLocal(), densmatr_calcProbOfAllOutcomesLocal(), densmatr_calcTotalProb(), densmatr_collapseToKnownProbOutcome(), densmatr_findProbabilityOfZeroLocal(), densmatr_initClassicalState(), densmatr_initPureStateLocal(), densmatr_mixDamping(), densmatr_mixDampingDistributed(), densmatr_mixDampingLocal(), densmatr_mixDepolarising(), densmatr_mixDepolarisingDistributed(), densmatr_mixDepolarisingLocal(), densmatr_mixTwoQubitDephasing(), densmatr_mixTwoQubitDepolarising(), densmatr_mixTwoQubitDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingLocal(), densmatr_mixTwoQubitDepolarisingLocalPart1(), densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3(), densmatr_oneQubitDegradeOffDiagonal(), getGlobalIndOfOddParityInChunk(), reportQuregParams(), reportState(), statevec_applyMultiVarPhaseFuncOverrides(), statevec_applyParamNamedPhaseFuncOverrides(), statevec_applyPhaseFuncOverrides(), statevec_calcProbOfAllOutcomesLocal(), statevec_calcProbOfOutcome(), statevec_collapseToKnownProbOutcome(), statevec_compactUnitary(), statevec_controlledCompactUnitary(), statevec_controlledCompactUnitaryDistributed(), statevec_controlledCompactUnitaryLocal(), statevec_controlledNot(), statevec_controlledNotDistributed(), statevec_controlledNotLocal(), statevec_controlledPauliY(), statevec_controlledPauliYConj(), statevec_controlledPauliYDistributed(), statevec_controlledPauliYLocal(), statevec_controlledPhaseFlip(), statevec_controlledPhaseShift(), statevec_controlledUnitary(), statevec_controlledUnitaryDistributed(), statevec_controlledUnitaryLocal(), statevec_createQureg(), statevec_getImagAmp(), statevec_getRealAmp(), statevec_hadamard(), statevec_initClassicalState(), statevec_initDebugState(), statevec_initStateFromSingleFile(), statevec_initStateOfSingleQubit(), statevec_initZeroState(), statevec_multiControlledMultiQubitNot(), statevec_multiControlledMultiQubitNotDistributed(), statevec_multiControlledMultiQubitNotLocal(), statevec_multiControlledMultiQubitUnitaryLocal(), statevec_multiControlledMultiRotateZ(), statevec_multiControlledPhaseFlip(), statevec_multiControlledPhaseShift(), statevec_multiControlledTwoQubitUnitaryLocal(), statevec_multiControlledUnitary(), statevec_multiControlledUnitaryDistributed(), statevec_multiControlledUnitaryLocal(), statevec_multiRotateZ(), statevec_pauliX(), statevec_pauliY(), statevec_pauliYConj(), statevec_phaseShiftByTerm(), statevec_reportStateToScreen(), statevec_setAmps(), statevec_swapQubitAmpsDistributed(), statevec_unitary(), and toQureg().
◆ deviceStateVec
ComplexArray Qureg::deviceStateVec |
Storage for wavefunction amplitudes in the GPU version.
Definition at line 346 of file QuEST.h.
Referenced by copyStateFromGPU(), copyStateToGPU(), densmatr_applyDiagonalOpKernel(), densmatr_calcExpecDiagonalOp(), densmatr_calcFidelityKernel(), densmatr_calcHilbertSchmidtDistance(), densmatr_calcInnerProductKernel(), densmatr_calcProbOfAllOutcomesKernel(), densmatr_calcPurity(), densmatr_collapseToKnownProbOutcome(), densmatr_findProbabilityOfZeroKernel(), densmatr_initClassicalState(), densmatr_initPlusState(), densmatr_initPureState(), densmatr_mixDamping(), densmatr_mixDensityMatrixKernel(), densmatr_mixDepolarising(), densmatr_mixTwoQubitDephasing(), densmatr_mixTwoQubitDepolarising(), densmatr_oneQubitDegradeOffDiagonal(), statevec_applyDiagonalOpKernel(), statevec_applyMultiVarPhaseFuncOverridesKernel(), statevec_applyParamNamedPhaseFuncOverridesKernel(), statevec_applyPhaseFuncOverridesKernel(), statevec_calcExpecDiagonalOp(), statevec_calcInnerProduct(), statevec_calcProbOfAllOutcomesKernel(), statevec_cloneQureg(), statevec_collapseToKnownProbOutcomeKernel(), statevec_compactUnitaryKernel(), statevec_controlledCompactUnitaryKernel(), statevec_controlledNotKernel(), statevec_controlledPauliYKernel(), statevec_controlledPhaseFlipKernel(), statevec_controlledPhaseShiftKernel(), statevec_controlledUnitaryKernel(), statevec_createQureg(), statevec_destroyQureg(), statevec_findProbabilityOfZeroKernel(), statevec_getImagAmp(), statevec_getRealAmp(), statevec_hadamardKernel(), statevec_initBlankState(), statevec_initClassicalState(), statevec_initDebugState(), statevec_initPlusState(), statevec_initStateOfSingleQubit(), statevec_initZeroState(), statevec_multiControlledMultiQubitNotKernel(), statevec_multiControlledMultiQubitUnitaryKernel(), statevec_multiControlledMultiRotateZKernel(), statevec_multiControlledPhaseFlipKernel(), statevec_multiControlledPhaseShiftKernel(), statevec_multiControlledTwoQubitUnitaryKernel(), statevec_multiControlledUnitaryKernel(), statevec_multiRotateZKernel(), statevec_pauliXKernel(), statevec_pauliYKernel(), statevec_phaseShiftByTermKernel(), statevec_setAmps(), statevec_setWeightedQuregKernel(), statevec_swapQubitAmpsKernel(), and statevec_unitaryKernel().
◆ firstLevelReduction
qreal* Qureg::firstLevelReduction |
Storage for reduction of probabilities on GPU.
Definition at line 348 of file QuEST.h.
Referenced by densmatr_calcExpecDiagonalOp(), densmatr_calcFidelity(), densmatr_calcHilbertSchmidtDistance(), densmatr_calcInnerProduct(), densmatr_calcPurity(), densmatr_findProbabilityOfZero(), statevec_calcExpecDiagonalOp(), statevec_calcInnerProduct(), statevec_createQureg(), statevec_destroyQureg(), and statevec_findProbabilityOfZero().
◆ isDensityMatrix
int Qureg::isDensityMatrix |
Whether this instance is a density-state representation.
Definition at line 325 of file QuEST.h.
Referenced by agnostic_applyQFT(), applyDiagonalOp(), applyExponentiatedPauliHamil(), applyMultiVarPhaseFunc(), applyMultiVarPhaseFuncOverrides(), applyNamedPhaseFunc(), applyNamedPhaseFuncOverrides(), applyParamNamedPhaseFunc(), applyParamNamedPhaseFuncOverrides(), applyPhaseFunc(), applyPhaseFuncOverrides(), applyProjector(), areEqual(), calcExpecDiagonalOp(), calcFidelity(), calcProbOfAllOutcomes(), calcProbOfOutcome(), calcTotalProb(), collapseToOutcome(), compactUnitary(), controlledCompactUnitary(), controlledMultiQubitUnitary(), controlledNot(), controlledPauliY(), controlledPhaseFlip(), controlledPhaseShift(), controlledRotateAroundAxis(), controlledRotateX(), controlledRotateY(), controlledRotateZ(), controlledTwoQubitUnitary(), controlledUnitary(), createCloneQureg(), createDensityQureg(), createQureg(), hadamard(), initClassicalState(), initPlusState(), initPureState(), measure(), measureWithStats(), multiControlledMultiQubitNot(), multiControlledMultiQubitUnitary(), multiControlledMultiRotatePauli(), multiControlledMultiRotateZ(), multiControlledPhaseFlip(), multiControlledPhaseShift(), multiControlledTwoQubitUnitary(), multiControlledUnitary(), multiQubitNot(), multiQubitUnitary(), multiRotatePauli(), multiRotateZ(), multiStateControlledUnitary(), pauliX(), pauliY(), pauliZ(), phaseShift(), rotateAroundAxis(), rotateX(), rotateY(), rotateZ(), sGate(), sqrtSwapGate(), statevec_calcExpecPauliProd(), statevec_createQureg(), swapGate(), TEST_CASE(), tGate(), toQMatrix(), toQureg(), toQVector(), twoQubitUnitary(), unitary(), validateDensityMatrQureg(), validateMatchingQuregTypes(), validateSecondQuregStateVec(), and validateStateVecQureg().
◆ numAmpsPerChunk
long long int Qureg::numAmpsPerChunk |
Number of probability amplitudes held in stateVec by this process In the non-MPI version, this is the total number of amplitudes.
Definition at line 332 of file QuEST.h.
Referenced by areEqual(), compressPairVectorForSingleQubitDepolarise(), compressPairVectorForTwoQubitDepolarise(), copyStateFromGPU(), copyStateToGPU(), copyVecIntoMatrixPairState(), densmatr_applyDiagonalOp(), densmatr_applyDiagonalOpKernel(), densmatr_applyDiagonalOpLocal(), densmatr_calcExpecDiagonalOp(), densmatr_calcExpecDiagonalOpLocal(), densmatr_calcFidelityLocal(), densmatr_calcHilbertSchmidtDistance(), densmatr_calcHilbertSchmidtDistanceSquaredLocal(), densmatr_calcInnerProductLocal(), densmatr_calcProbOfAllOutcomesLocal(), densmatr_calcPurity(), densmatr_calcPurityLocal(), densmatr_calcTotalProb(), densmatr_collapseToKnownProbOutcome(), densmatr_findProbabilityOfZeroLocal(), densmatr_initClassicalState(), densmatr_initPlusState(), densmatr_initPureState(), densmatr_initPureStateLocal(), densmatr_mixDamping(), densmatr_mixDampingDistributed(), densmatr_mixDampingLocal(), densmatr_mixDensityMatrix(), densmatr_mixDepolarising(), densmatr_mixDepolarisingDistributed(), densmatr_mixDepolarisingLocal(), densmatr_mixTwoQubitDephasing(), densmatr_mixTwoQubitDepolarising(), densmatr_mixTwoQubitDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingLocal(), densmatr_mixTwoQubitDepolarisingLocalPart1(), densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3(), densmatr_oneQubitDegradeOffDiagonal(), exchangePairStateVectorHalves(), exchangeStateVectors(), getChunkIdFromIndex(), getGlobalIndOfOddParityInChunk(), reportState(), statevec_applyDiagonalOp(), statevec_applyDiagonalOpKernel(), statevec_applyMultiVarPhaseFuncOverrides(), statevec_applyMultiVarPhaseFuncOverridesKernel(), statevec_applyParamNamedPhaseFuncOverrides(), statevec_applyParamNamedPhaseFuncOverridesKernel(), statevec_applyPhaseFuncOverrides(), statevec_applyPhaseFuncOverridesKernel(), statevec_calcExpecDiagonalOp(), statevec_calcExpecDiagonalOpLocal(), statevec_calcInnerProduct(), statevec_calcInnerProductLocal(), statevec_calcProbOfAllOutcomes(), statevec_calcProbOfAllOutcomesLocal(), statevec_calcProbOfOutcome(), statevec_calcTotalProb(), statevec_cloneQureg(), statevec_collapseToKnownProbOutcome(), statevec_collapseToKnownProbOutcomeDistributedRenorm(), statevec_collapseToKnownProbOutcomeKernel(), statevec_collapseToKnownProbOutcomeLocal(), statevec_collapseToOutcomeDistributedSetZero(), statevec_compactUnitary(), statevec_compactUnitaryDistributed(), statevec_compactUnitaryKernel(), statevec_compactUnitaryLocal(), statevec_compareStates(), statevec_controlledCompactUnitary(), statevec_controlledCompactUnitaryDistributed(), statevec_controlledCompactUnitaryKernel(), statevec_controlledCompactUnitaryLocal(), statevec_controlledNot(), statevec_controlledNotDistributed(), statevec_controlledNotKernel(), statevec_controlledNotLocal(), statevec_controlledPauliY(), statevec_controlledPauliYConj(), statevec_controlledPauliYDistributed(), statevec_controlledPauliYKernel(), statevec_controlledPauliYLocal(), statevec_controlledPhaseFlip(), statevec_controlledPhaseFlipKernel(), statevec_controlledPhaseShift(), statevec_controlledPhaseShiftKernel(), statevec_controlledUnitary(), statevec_controlledUnitaryDistributed(), statevec_controlledUnitaryKernel(), statevec_controlledUnitaryLocal(), statevec_createQureg(), statevec_destroyQureg(), statevec_findProbabilityOfZero(), statevec_findProbabilityOfZeroDistributed(), statevec_findProbabilityOfZeroKernel(), statevec_findProbabilityOfZeroLocal(), statevec_getImagAmp(), statevec_getRealAmp(), statevec_hadamard(), statevec_hadamardDistributed(), statevec_hadamardKernel(), statevec_hadamardLocal(), statevec_initBlankState(), statevec_initClassicalState(), statevec_initDebugState(), statevec_initPlusState(), statevec_initStateFromSingleFile(), statevec_initStateOfSingleQubit(), statevec_initZeroState(), statevec_multiControlledMultiQubitNot(), statevec_multiControlledMultiQubitNotDistributed(), statevec_multiControlledMultiQubitNotKernel(), statevec_multiControlledMultiQubitNotLocal(), statevec_multiControlledMultiQubitUnitary(), statevec_multiControlledMultiQubitUnitaryKernel(), statevec_multiControlledMultiQubitUnitaryLocal(), statevec_multiControlledMultiRotateZ(), statevec_multiControlledMultiRotateZKernel(), statevec_multiControlledPhaseFlip(), statevec_multiControlledPhaseFlipKernel(), statevec_multiControlledPhaseShift(), statevec_multiControlledPhaseShiftKernel(), statevec_multiControlledTwoQubitUnitary(), statevec_multiControlledTwoQubitUnitaryKernel(), statevec_multiControlledTwoQubitUnitaryLocal(), statevec_multiControlledUnitary(), statevec_multiControlledUnitaryDistributed(), statevec_multiControlledUnitaryKernel(), statevec_multiControlledUnitaryLocal(), statevec_multiRotateZ(), statevec_multiRotateZKernel(), statevec_pauliX(), statevec_pauliXDistributed(), statevec_pauliXKernel(), statevec_pauliXLocal(), statevec_pauliY(), statevec_pauliYConj(), statevec_pauliYDistributed(), statevec_pauliYKernel(), statevec_pauliYLocal(), statevec_phaseShiftByTerm(), statevec_phaseShiftByTermKernel(), statevec_reportStateToScreen(), statevec_setAmps(), statevec_setWeightedQureg(), statevec_setWeightedQuregKernel(), statevec_swapQubitAmps(), statevec_swapQubitAmpsDistributed(), statevec_swapQubitAmpsKernel(), statevec_swapQubitAmpsLocal(), statevec_unitary(), statevec_unitaryDistributed(), statevec_unitaryKernel(), statevec_unitaryLocal(), TEST_CASE(), toQMatrix(), toQureg(), toQVector(), and validateMultiQubitMatrixFitsInNode().
◆ numAmpsTotal
long long int Qureg::numAmpsTotal |
Total number of amplitudes, which are possibly distributed among machines.
Definition at line 334 of file QuEST.h.
Referenced by areEqual(), densmatr_calcFidelityLocal(), densmatr_calcInnerProduct(), densmatr_initPureStateLocal(), getNumAmps(), initStateFromAmps(), setDensityAmps(), statevec_calcProbOfAllOutcomesKernel(), statevec_createQureg(), statevec_destroyQureg(), TEST_CASE(), toQMatrix(), toQureg(), toQVector(), and validateNumAmps().
◆ numChunks
int Qureg::numChunks |
Number of chunks the state vector is broken up into – the number of MPI processes used.
Definition at line 338 of file QuEST.h.
Referenced by copyDiagOpIntoMatrixPairState(), copyVecIntoMatrixPairState(), densmatr_calcExpecDiagonalOp(), densmatr_calcTotalProb(), densmatr_initPureState(), reportQuregParams(), statevec_calcExpecDiagonalOp(), statevec_calcInnerProduct(), statevec_calcTotalProb(), statevec_createQureg(), statevec_initPlusState(), statevec_initStateFromSingleFile(), statevec_initStateOfSingleQubit(), and statevec_reportStateToScreen().
◆ numQubitsInStateVec
int Qureg::numQubitsInStateVec |
Number of qubits in the state-vector - this is double the number represented for mixed states.
Definition at line 329 of file QuEST.h.
Referenced by createCloneQureg(), createDensityQureg(), createQureg(), reportQuregParams(), statevec_createQureg(), statevec_destroyQureg(), statevec_reportStateToScreen(), and TEST_CASE().
◆ numQubitsRepresented
int Qureg::numQubitsRepresented |
The number of qubits represented in either the state-vector or density matrix.
Definition at line 327 of file QuEST.h.
Referenced by agnostic_applyQFT(), applyFullQFT(), applyMultiVarPhaseFunc(), applyMultiVarPhaseFuncOverrides(), applyNamedPhaseFunc(), applyNamedPhaseFuncOverrides(), applyParamNamedPhaseFunc(), applyParamNamedPhaseFuncOverrides(), applyPauliSum(), applyPhaseFunc(), applyPhaseFuncOverrides(), calcExpecPauliSum(), compactUnitary(), compressPairVectorForSingleQubitDepolarise(), compressPairVectorForTwoQubitDepolarise(), controlledCompactUnitary(), controlledMultiQubitUnitary(), controlledNot(), controlledPauliY(), controlledPhaseFlip(), controlledPhaseShift(), controlledRotateAroundAxis(), controlledRotateX(), controlledRotateY(), controlledRotateZ(), controlledTwoQubitUnitary(), controlledUnitary(), createCloneQureg(), createDensityQureg(), createQureg(), densmatr_applyKrausSuperoperator(), densmatr_applyMultiQubitKrausSuperoperator(), densmatr_applyTwoQubitKrausSuperoperator(), densmatr_calcExpecDiagonalOpLocal(), densmatr_calcFidelity(), densmatr_calcProbOfAllOutcomes(), densmatr_calcProbOfAllOutcomesKernel(), densmatr_calcProbOfAllOutcomesLocal(), densmatr_calcTotalProb(), densmatr_collapseToKnownProbOutcome(), densmatr_findProbabilityOfZero(), densmatr_findProbabilityOfZeroKernel(), densmatr_findProbabilityOfZeroLocal(), densmatr_initClassicalState(), densmatr_initPlusState(), densmatr_mixDamping(), densmatr_mixDampingDistributed(), densmatr_mixDampingLocal(), densmatr_mixDepolarising(), densmatr_mixDepolarisingDistributed(), densmatr_mixDepolarisingLocal(), densmatr_mixTwoQubitDephasing(), densmatr_mixTwoQubitDepolarising(), densmatr_mixTwoQubitDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingLocal(), densmatr_mixTwoQubitDepolarisingLocalPart1(), densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3(), densmatr_oneQubitDegradeOffDiagonal(), getDensityAmp(), getNumQubits(), hadamard(), multiControlledMultiQubitNot(), multiControlledMultiQubitUnitary(), multiControlledMultiRotatePauli(), multiControlledMultiRotateZ(), multiControlledPhaseFlip(), multiControlledPhaseShift(), multiControlledTwoQubitUnitary(), multiControlledUnitary(), multiQubitNot(), multiQubitUnitary(), multiRotatePauli(), multiRotateZ(), multiStateControlledUnitary(), pauliX(), pauliY(), pauliZ(), phaseShift(), qasm_recordInitClassical(), qasm_setup(), rotateAroundAxis(), rotateX(), rotateY(), rotateZ(), sGate(), sqrtSwapGate(), statevec_applyPauliSum(), statevec_calcExpecPauliSum(), swapGate(), TEST_CASE(), tGate(), toQMatrix(), toQureg(), twoQubitUnitary(), unitary(), validateAmpIndex(), validateControl(), validateDiagonalOp(), validateMatchingQuregDims(), validateMatchingQuregPauliHamilDims(), validateMultiQubits(), validateNumControls(), validateNumTargets(), validateQubitSubregs(), validateStateIndex(), and validateTarget().
◆ pairStateVec
ComplexArray Qureg::pairStateVec |
Temporary storage for a chunk of the state vector received from another process in the MPI version.
Definition at line 343 of file QuEST.h.
Referenced by compressPairVectorForSingleQubitDepolarise(), compressPairVectorForTwoQubitDepolarise(), copyDiagOpIntoMatrixPairState(), copyVecIntoMatrixPairState(), densmatr_applyDiagonalOp(), densmatr_applyDiagonalOpLocal(), densmatr_calcFidelity(), densmatr_calcFidelityLocal(), densmatr_initPureState(), densmatr_initPureStateLocal(), densmatr_mixDampingDistributed(), densmatr_mixDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3(), exchangePairStateVectorHalves(), exchangeStateVectors(), statevec_compactUnitary(), statevec_controlledCompactUnitary(), statevec_controlledNot(), statevec_controlledPauliY(), statevec_controlledPauliYConj(), statevec_controlledUnitary(), statevec_createQureg(), statevec_destroyQureg(), statevec_hadamard(), statevec_multiControlledMultiQubitNot(), statevec_multiControlledUnitary(), statevec_pauliX(), statevec_pauliY(), statevec_pauliYConj(), statevec_swapQubitAmpsDistributed(), and statevec_unitary().
◆ qasmLog
QASMLogger* Qureg::qasmLog |
Storage for generated QASM output.
Definition at line 351 of file QuEST.h.
Referenced by addStringToQASM(), qasm_clearRecorded(), qasm_free(), qasm_printRecorded(), qasm_recordAxisRotation(), qasm_recordComment(), qasm_recordCompactUnitary(), qasm_recordControlledAxisRotation(), qasm_recordControlledCompactUnitary(), qasm_recordControlledGate(), qasm_recordControlledParamGate(), qasm_recordControlledUnitary(), qasm_recordGate(), qasm_recordInitClassical(), qasm_recordInitPlus(), qasm_recordInitZero(), qasm_recordMeasurement(), qasm_recordMultiControlledGate(), qasm_recordMultiControlledMultiQubitNot(), qasm_recordMultiControlledParamGate(), qasm_recordMultiControlledUnitary(), qasm_recordMultiStateControlledUnitary(), qasm_recordMultiVarPhaseFunc(), qasm_recordNamedPhaseFunc(), qasm_recordParamGate(), qasm_recordPhaseFunc(), qasm_recordUnitary(), qasm_setup(), qasm_startRecording(), qasm_stopRecording(), and qasm_writeRecordedToFile().
◆ secondLevelReduction
qreal * Qureg::secondLevelReduction |
Definition at line 348 of file QuEST.h.
Referenced by densmatr_calcExpecDiagonalOp(), densmatr_calcFidelity(), densmatr_calcHilbertSchmidtDistance(), densmatr_calcInnerProduct(), densmatr_calcPurity(), densmatr_findProbabilityOfZero(), statevec_calcExpecDiagonalOp(), statevec_calcInnerProduct(), statevec_createQureg(), statevec_destroyQureg(), and statevec_findProbabilityOfZero().
◆ stateVec
ComplexArray Qureg::stateVec |
Computational state amplitudes - a subset thereof in the MPI version.
Definition at line 341 of file QuEST.h.
Referenced by areEqual(), compressPairVectorForSingleQubitDepolarise(), compressPairVectorForTwoQubitDepolarise(), copyStateFromGPU(), copyStateToGPU(), copyVecIntoMatrixPairState(), densmatr_applyDiagonalOpLocal(), densmatr_calcExpecDiagonalOpLocal(), densmatr_calcFidelity(), densmatr_calcFidelityLocal(), densmatr_calcHilbertSchmidtDistanceSquaredLocal(), densmatr_calcInnerProductLocal(), densmatr_calcProbOfAllOutcomesLocal(), densmatr_calcPurityLocal(), densmatr_calcTotalProb(), densmatr_findProbabilityOfZeroLocal(), densmatr_initClassicalState(), densmatr_initPlusState(), densmatr_initPureState(), densmatr_initPureStateLocal(), densmatr_mixDampingDistributed(), densmatr_mixDampingLocal(), densmatr_mixDensityMatrix(), densmatr_mixDepolarisingDistributed(), densmatr_mixDepolarisingLocal(), densmatr_mixTwoQubitDephasing(), densmatr_mixTwoQubitDepolarisingDistributed(), densmatr_mixTwoQubitDepolarisingLocal(), densmatr_mixTwoQubitDepolarisingLocalPart1(), densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3(), densmatr_oneQubitDegradeOffDiagonal(), exchangeStateVectors(), normaliseSomeAmps(), reportState(), statevec_applyDiagonalOp(), statevec_applyMultiVarPhaseFuncOverrides(), statevec_applyParamNamedPhaseFuncOverrides(), statevec_applyPhaseFuncOverrides(), statevec_calcExpecDiagonalOpLocal(), statevec_calcInnerProductLocal(), statevec_calcProbOfAllOutcomesLocal(), statevec_calcTotalProb(), statevec_cloneQureg(), statevec_collapseToKnownProbOutcomeDistributedRenorm(), statevec_collapseToKnownProbOutcomeLocal(), statevec_collapseToOutcomeDistributedSetZero(), statevec_compactUnitary(), statevec_compactUnitaryLocal(), statevec_compareStates(), statevec_controlledCompactUnitary(), statevec_controlledCompactUnitaryLocal(), statevec_controlledNot(), statevec_controlledNotLocal(), statevec_controlledPauliY(), statevec_controlledPauliYConj(), statevec_controlledPauliYLocal(), statevec_controlledPhaseFlip(), statevec_controlledPhaseShift(), statevec_controlledUnitary(), statevec_controlledUnitaryLocal(), statevec_createQureg(), statevec_destroyQureg(), statevec_findProbabilityOfZeroDistributed(), statevec_findProbabilityOfZeroLocal(), statevec_getImagAmp(), statevec_getRealAmp(), statevec_hadamard(), statevec_hadamardLocal(), statevec_initBlankState(), statevec_initClassicalState(), statevec_initDebugState(), statevec_initPlusState(), statevec_initStateFromSingleFile(), statevec_initStateOfSingleQubit(), statevec_initZeroState(), statevec_multiControlledMultiQubitNot(), statevec_multiControlledMultiQubitNotLocal(), statevec_multiControlledMultiQubitUnitaryLocal(), statevec_multiControlledMultiRotateZ(), statevec_multiControlledPhaseFlip(), statevec_multiControlledPhaseShift(), statevec_multiControlledTwoQubitUnitaryLocal(), statevec_multiControlledUnitary(), statevec_multiControlledUnitaryLocal(), statevec_multiRotateZ(), statevec_pauliX(), statevec_pauliXLocal(), statevec_pauliY(), statevec_pauliYConj(), statevec_pauliYLocal(), statevec_phaseShiftByTerm(), statevec_reportStateToScreen(), statevec_setAmps(), statevec_setWeightedQureg(), statevec_swapQubitAmpsDistributed(), statevec_swapQubitAmpsLocal(), statevec_unitary(), statevec_unitaryLocal(), TEST_CASE(), toQMatrix(), toQureg(), toQVector(), and zeroSomeAmps().
The documentation for this struct was generated from the following file: