From 6df4b07b233efbefa0dd77d4be3b2cd3451b0613 Mon Sep 17 00:00:00 2001 From: Jun Doi Date: Tue, 21 Nov 2023 16:15:07 +0900 Subject: [PATCH] fix batch check --- src/simulators/batch_shots_executor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulators/batch_shots_executor.hpp b/src/simulators/batch_shots_executor.hpp index 3b497d9257..6776bb26de 100644 --- a/src/simulators/batch_shots_executor.hpp +++ b/src/simulators/batch_shots_executor.hpp @@ -150,7 +150,7 @@ template void BatchShotsExecutor::run_circuit_with_sampling( Circuit &circ, const Config &config, RngEngine &init_rng, ResultItr result_it) { - if (enable_batch_multi_shots_) { + if (!enable_batch_multi_shots_) { return Executor::run_circuit_with_sampling(circ, config, init_rng, result_it); }