TextBox#
qualtran.drawing.TextBox
View source on GitHub
|
Base class for a symbol.
Inherits From: WireSymbol
qualtran.drawing.TextBox(
text
)
A symbol is a particular visual representation of a bloq’s register.
Attributes
Methods#
draw
draw(
ax, x, y
)
Draw this symbol using matplotlib.
adjoint
adjoint() -> 'TextBox'
Return a symbol that is the adjoint of this.
__ne__
__ne__(
other
)
Check equality and either forward a NotImplemented or return the result negated.
__eq__
__eq__(
other
)
Method generated by attrs for class TextBox.
View source on GitHub