diff --git a/qiskit/aqua/quantum_instance.py b/qiskit/aqua/quantum_instance.py index 0d85f3fc7259..7ff51d7eadfd 100644 --- a/qiskit/aqua/quantum_instance.py +++ b/qiskit/aqua/quantum_instance.py @@ -146,7 +146,7 @@ def __init__(self, 'but you specified {}'.format(max_shots, shots)) run_config = RunConfig(shots=shots, max_credits=max_credits) - if seed_simulator: + if seed_simulator is not None: run_config.seed_simulator = seed_simulator self._run_config = run_config