\
const
complex Y0 = stateVec->read(lcv + offset1); \
qubit[1
U] = stateVec->read(lcv + offset2); \
\
\
rngNrm[cpu] =
norm(qubit[0
U]) +
norm(qubit[1
U]); \
\
stateVec->write2(lcv + offset1, qubit[0
U], lcv + offset2, qubit[1
U]); \
};
std::complex< real1 > complex
Definition: qrack_types.hpp:128
double norm(const complex2 &c)
Definition: complex16x2simd.hpp:101
MICROSOFT_QUANTUM_DECL void U(_In_ uintq sid, _In_ uintq q, _In_ double theta, _In_ double phi, _In_ double lambda)
(External API) 3-parameter unitary gate
Definition: pinvoke_api.cpp:1562
#define bitCapIntOcl
Definition: qrack_types.hpp:50