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
Currently printing a QubitPauliOperator (QPO) just gives a dict of the Pauli terms and the weights (to about 15 decimal places) (see below). We could could create a nicer __str__() representation for this or even display it with LaTeX as we do with circuit_to_symbolic_unitary.
CalMacCQ
changed the title
Create readable representation of a QubitPauliOperator
Create a more readable representation for QubitPauliOperatorJan 23, 2023
Currently printing a
QubitPauliOperator
(QPO) just gives a dict of the Pauli terms and the weights (to about 15 decimal places) (see below). We could could create a nicer__str__()
representation for this or even display it with LaTeX as we do withcircuit_to_symbolic_unitary
.Currently gives...
{(Zq[0], Zq[1], Iq[2]): 0.200000000000000, (Iq[0], Xq[1], Yq[2]): 0.700000000000000}
Another old QPO issue
The text was updated successfully, but these errors were encountered: