Skip to content

Commit

Permalink
fix batch check
Browse files Browse the repository at this point in the history
  • Loading branch information
doichanj committed Nov 21, 2023
1 parent bb00e69 commit 6df4b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulators/batch_shots_executor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ template <class state_t>
void BatchShotsExecutor<state_t>::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<state_t>::run_circuit_with_sampling(circ, config, init_rng,
result_it);
}
Expand Down

0 comments on commit 6df4b07

Please sign in to comment.