Describes how to draw an operation in a circuit diagram.
cirq.protocols.CircuitDiagramInfo(
wire_symbols: Iterable[str],
exponent: Any = 1,
connected: bool = True,
exponent_qubit_index: Optional[int] = None,
auto_exponent_parens: bool = True
) -> None
Used in the notebooks
Used in the guide |
Used in the tutorials |
|
|
Methods
with_wire_symbols
View source
with_wire_symbols(
new_wire_symbols: Iterable[str]
)
__eq__
View source
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
View source
__ne__(
other: _SupportsValueEquality
) -> bool