Infleqtion / client-superstaq

https://superstaq.readthedocs.io
Apache License 2.0
87 stars 19 forks source link

`AQTCompilerOutput` should have a `_repr_pretty_` method #144

Open richrines1 opened 3 years ago

richrines1 commented 3 years ago

especially with a lot of circuits or pulse sequence data, the repr() string of AQTCompilerOutput gets pretty unweildy when it's displayed in an ipython console or jupyter notbook. _repr_pretty_() would add an abbreviated/human-readable display representation to be used by ipython/jupyter. This is what's done by cirq.Circuit, for example

(probably applies to other classes in *_superstaq as well)

vtomole commented 3 years ago

Yes 👍