Text#
qualtran.drawing.Text
View source on GitHub
|
Base class for a symbol.
Inherits From: WireSymbol
qualtran.drawing.Text(
text, fontsize=attr_dict['fontsize'].default
)
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() -> 'Text'
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 Text.
View source on GitHub