|View source on GitHub|
A request for information on drawing an operation in a circuit diagram.
cirq.protocols.CircuitDiagramInfoArgs( known_qubits: Optional[Iterable['cirq.Qid']], known_qubit_count: Optional[int], use_unicode_characters: bool, precision: Optional[int], qubit_map: Optional[Dict['cirq.Qid', int]], include_tags: bool = True ) -> None
||The qubits the gate is being applied to. None means this information is not known by the caller.|
||The number of qubits the gate is being applied to None means this information is not known by the caller.|
||If true, the wire symbols are permitted to include unicode characters (as long as they work well in fixed width fonts). If false, use only ascii characters. ASCII is preferred in cases where UTF8 support is done poorly, or where the fixed-width font being used to show the diagrams does not properly handle unicode characters.|
||The number of digits after the decimal to show for numbers in the text diagram. None means use full precision.|
||The map from qubits to diagram positions.|
||Whether to print tags from TaggedOperations|
format_complex( val: Union[sympy.Basic, int, float, complex] ) -> str
format_radians( radians: Union[sympy.Basic, int, float] ) -> str
Returns angle in radians as a human-readable string.
format_real( val: Union[sympy.Basic, int, float] ) -> str
with_args( **kwargs )
__eq__( other: _SupportsValueEquality ) -> bool
__ne__( other: _SupportsValueEquality ) -> bool