Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Oct 5, 2024
1 parent bdb723c commit 0176ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pennylane_qrack/qrack_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
keyMap["'noise'"] = 8;

size_t pos;
real1_f noiseParam = 0;
Qrack::real1_f noiseParam = 0;
while ((pos = kwargs.find(":")) != std::string::npos) {
std::string key = trim(kwargs.substr(0, pos));
kwargs.erase(0, pos + 1U);
Expand Down Expand Up @@ -440,7 +440,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
hp = val;
break;
case 8:
noiseParam = std::stof(value)
noiseParam = std::stof(value);
nw = noiseParam > ZERO_R1;
break;
default:
Expand Down

0 comments on commit 0176ee8

Please sign in to comment.