We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635f6ae commit e8b52a8Copy full SHA for e8b52a8
projectq/backends/_sim/_simulator.py
@@ -81,7 +81,7 @@ def __init__(self, gate_fusion=False, rnd_seed=None):
81
extension.
82
"""
83
if rnd_seed is None:
84
- rnd_seed = random.randint(0, 1024)
+ rnd_seed = random.randint(0, 4294967295)
85
BasicEngine.__init__(self)
86
self._simulator = SimulatorBackend(rnd_seed)
87
self._gate_fusion = gate_fusion
0 commit comments