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
Add support to expr.Var for representing classical variables with some fixed storage location as described in Qiskit/RFCs#50. For the initial pass, we can use some UUID as the backing "data store" link value to use in direct comparisons, which has the advantage of letting QPY round-trip serialisation reproduce the values exactly, whereas requiring singleton object identities for equality has the problem that two circuits serialised separately will end up with spuriously difference variables.
The text was updated successfully, but these errors were encountered:
Add support to
expr.Var
for representing classical variables with some fixed storage location as described in Qiskit/RFCs#50. For the initial pass, we can use some UUID as the backing "data store" link value to use in direct comparisons, which has the advantage of letting QPY round-trip serialisation reproduce the values exactly, whereas requiring singleton object identities for equality has the problem that two circuits serialised separately will end up with spuriously difference variables.The text was updated successfully, but these errors were encountered: