WireSymbol#
qualtran.drawing.WireSymbol
View source on GitHub
|
Base class for a symbol.
qualtran.drawing.WireSymbol()
A symbol is a particular visual representation of a bloq’s register.
Methods#
draw
@abc.abstractmethoddraw( ax, x, y ) -> None
Draw this symbol using matplotlib.
adjoint
adjoint() -> 'WireSymbol'
Return a symbol that is the adjoint of this.
json_dict
json_dict() -> Dict[str, Any]
__ne__
__ne__(
other
)
Check equality and either forward a NotImplemented or return the result negated.
__eq__
__eq__(
other
)
Method generated by attrs for class WireSymbol.
View source on GitHub