QPDGate
serialization meta-issue
#445
Labels
qpd
Related to quasi-probability decompositions
serialization
Related to serialization of our custom objects
There are still some issues with
QPDGate
serialization viaqiskit.qpy
once #417 is resolved by #442. I'm opening this issue to collect them and to create a space for centralized discussion. (These issues are closely related to one another, and it is likely that they should be considered together for any potential solution, as @caleb-johnson suggested at #417 (comment).)TwoQubitQPDGate
withbasis_id=None
gets serialized into twoSingleQubitQPDGate
s: Serialization ofTwoQubitQPDGate
should not decompose it into twoSingleQubitQPDGate
s #443SingleQubitQPDGate
withbasis is not None
gets realized into concrete gates during serialization (@caleb-johnson's comment)QPDGate
results instead in a concrete instantiation of an object of typeInstruction
: Deserializing aSingleQubitQPDGate
results in a genericInstruction
#444The text was updated successfully, but these errors were encountered: