diff --git a/cirq-core/cirq/experiments/xeb_simulation.py b/cirq-core/cirq/experiments/xeb_simulation.py index 72bbf252217..25e9ce4fb1b 100644 --- a/cirq-core/cirq/experiments/xeb_simulation.py +++ b/cirq-core/cirq/experiments/xeb_simulation.py @@ -107,7 +107,7 @@ def simulate_2q_xeb_circuits( # Need an actual object; not np.random or else multiprocessing will # fail to pickle the closure object: # https://github.com/quantumlib/Cirq/issues/3717 - simulator = sim.Simulator(seed=np.random.RandomState()) + simulator = sim.Simulator(seed=np.random.RandomState(), dtype=np.complex128) _simulate_2q_xeb_circuit = _Simulate_2q_XEB_Circuit(simulator=simulator) tasks = tuple(