You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, users wanting to deserialize the abstract representation of a Device have to do from pulser.json.abstract_repr.deserializer import deserialize_device followed by deserialize_device(abstract_device). It would be simpler to have Device.from_abstract_repr(abstract_device).
Initially suggested by @nataliejpg, useful for users of pulser_myqlm to build the device associated with the current state of the QPU (provided as a String, in the abstract format).
The text was updated successfully, but these errors were encountered:
At the moment, users wanting to deserialize the abstract representation of a Device have to do
from pulser.json.abstract_repr.deserializer import deserialize_device
followed bydeserialize_device(abstract_device)
. It would be simpler to haveDevice.from_abstract_repr(abstract_device)
.Initially suggested by @nataliejpg, useful for users of pulser_myqlm to build the device associated with the current state of the QPU (provided as a String, in the abstract format).
The text was updated successfully, but these errors were encountered: