Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed May 23, 2024
1 parent 8388b47 commit 8a9d90c
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 @@ -566,7 +566,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
default:
break;
}
obs_cache.push_back(QrackObservable({ basis }, { wires[0U] }));
obs_cache.push_back(QrackObservable({ basis }, { (bitLenInt)wires[0U] }));

return obs_cache.size() - 1U;
}
Expand Down

0 comments on commit 8a9d90c

Please sign in to comment.