Open zohimchandani opened 7 months ago
You could probably get away with serializing / deserializing the spin operator
serialized = op.serialize() # list of floats
# distribute / scatter the data
deserialized = cudaq.SpinOperator(serialized, numQubits)
Required prerequisites
Describe the feature
I am trying to manually hand-code the hamiltonian batching workflow where I distribute via MPI:
Can we make CUDAQ types pickleable?
Thanks team.