From 6c2ab50f7e33512f8d2b294b9041716a2e72455e Mon Sep 17 00:00:00 2001 From: Adrian Roman Date: Sun, 17 Nov 2024 09:13:44 +0200 Subject: [PATCH] Removed unused variable from getBasisStateProbability --- QCSim/StabilizerState.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/QCSim/StabilizerState.h b/QCSim/StabilizerState.h index 40c2c99..0365ef0 100644 --- a/QCSim/StabilizerState.h +++ b/QCSim/StabilizerState.h @@ -90,8 +90,6 @@ namespace QC { double getBasisStateProbability(const std::vector& state) { const size_t nrQubits = getNrQubits(); - size_t p; - std::vector handledQubits(nrQubits, false); size_t firstRandomQubit = 0;