Traceback (most recent call last):


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 431, in _process_worker

r = call_item()


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 285, in __call__

return self.fn(*self.args, **self.kwargs)


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 595, in __call__

return self.func(*args, **kwargs)


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/joblib/parallel.py", line 262, in __call__

return [func(*args, **kwargs)


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/joblib/parallel.py", line 262, in <listcomp>

return [func(*args, **kwargs)


 "/usr/local/google/home/whuggins/Projects/qc/newtilities.py", line 99, in run

data = build_experiment(params, dependencies)


 "/usr/local/google/home/whuggins/Projects/qc/experiment.py", line 93, in build_experiment

raw_samples = get_samples_from_experiment(blueprint.compiled_circuit,


 "/usr/local/google/home/whuggins/Projects/qc/quantum_engine_utilities.py", line 51, in get_samples_from_experiment

job = engine.run_batch(


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/engine/engine.py", line 365, in run_batch

engine_program = self.create_batch_program(


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/engine/engine.py", line 525, in create_batch_program

gate_set.serialize(program, msg=batch.programs.add())


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/serializable_gate_set.py", line 125, in serialize

self._serialize_circuit(


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/serializable_gate_set.py", line 253, in _serialize_circuit

self.serialize_op(


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/serializable_gate_set.py", line 165, in serialize_op

proto_msg = serializer.to_proto(


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/op_serializer.py", line 137, in to_proto

value = self._value_from_gate(op, arg)


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/op_serializer.py", line 184, in _value_from_gate

self._check_type(value, arg)


 "/usr/local/google/home/whuggins/Projects/qc/env/lib/python3.9/site-packages/cirq/google/op_serializer.py", line 191, in _check_type

raise ValueError(f'Expected type convertible to float but was {type(value)}')
ValueError: Expected type convertible to float but was <class 'numpy.int64'>

Traceback (most recent call last):es... [100%] parallel_random_state.py



 "/home/lemaitre/miniconda3/lib/python3.6/site-packages/joblib/externals/loky/process_executor.py", line 352, in _process_worker

call_item = call_queue.get(block=True, timeout=timeout)


 "/home/lemaitre/miniconda3/lib/python3.6/multiprocessing/queues.py", line 113, in get

return _ForkingPickler.loads(res)


 "/home/lemaitre/miniconda3/lib/python3.6/site-packages/joblib/parallel.py", line 141, in __setstate__

items, self._size = state
ValueError: too many values to unpack (expected 2)
