Skip to content

Commit

Permalink
Removed unused variable from getBasisStateProbability
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanro committed Nov 17, 2024
1 parent ae1d965 commit 6c2ab50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions QCSim/StabilizerState.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ namespace QC {
double getBasisStateProbability(const std::vector<bool>& state)
{
const size_t nrQubits = getNrQubits();
size_t p;

std::vector<bool> handledQubits(nrQubits, false);

size_t firstRandomQubit = 0;
Expand Down

0 comments on commit 6c2ab50

Please sign in to comment.