Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Nov 13, 2024
1 parent 4033d99 commit 55bd683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_qrack/qrack_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
const Qrack::real1 cos0 = (Qrack::real1)cos(theta / 2);
const Qrack::real1 sin0 = (Qrack::real1)sin(theta / 2);
const Qrack::complex expP = exp(Qrack::I_CMPLX * (phi + omega) * HALF_R1);
const Qrack::complex expM = exp(Qrack::I_CMPLX * (phi - omega) HALF_R1);
const Qrack::complex expM = exp(Qrack::I_CMPLX * (phi - omega) * HALF_R1);
const Qrack::complex mtrx[4U]{
cos0 / expP, -sin0 * expM,
sin0 / expM, cos0 * expP
Expand Down

0 comments on commit 55bd683

Please sign in to comment.