Skip to content

Commit

Permalink
added phase functions
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonRayJones committed Sep 20, 2023
1 parent 14b0a59 commit 95ce6a5
Show file tree
Hide file tree
Showing 3 changed files with 537 additions and 483 deletions.
25 changes: 0 additions & 25 deletions QuEST/src/GPU/QuEST_cuQuantum.cu
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,6 @@ void statevec_multiControlledPhaseShift(Qureg qureg, int *controlQubits, int num
std::vector<int> targs{controlQubits[0]};
std::vector<int> ctrls(controlQubits + 1, controlQubits + numControlQubits);
custatevec_applyDiagonal(qureg, ctrls, targs, elems);

}

void statevec_multiRotateZ(Qureg qureg, long long int mask, qreal angle)
Expand Down Expand Up @@ -986,30 +985,6 @@ void densmatr_applyDiagonalOp(Qureg qureg, DiagonalOp op)
thrust::for_each(startIndIter, endIndIter, functor);
}

void statevec_applyPhaseFuncOverrides(
Qureg qureg, int* qubits, int numQubits, enum bitEncoding encoding,
qreal* coeffs, qreal* exponents, int numTerms,
long long int* overrideInds, qreal* overridePhases, int numOverrides,
int conj)
{
}

void statevec_applyMultiVarPhaseFuncOverrides(
Qureg qureg, int* qubits, int* numQubitsPerReg, int numRegs, enum bitEncoding encoding,
qreal* coeffs, qreal* exponents, int* numTermsPerReg,
long long int* overrideInds, qreal* overridePhases, int numOverrides,
int conj)
{
}

void statevec_applyParamNamedPhaseFuncOverrides(
Qureg qureg, int* qubits, int* numQubitsPerReg, int numRegs, enum bitEncoding encoding,
enum phaseFunc phaseFuncName, qreal* params, int numParams,
long long int* overrideInds, qreal* overridePhases, int numOverrides,
int conj)
{
}



/*
Expand Down
Loading

0 comments on commit 95ce6a5

Please sign in to comment.