View source on GitHub |
A request for information on drawing an operation in a circuit diagram.
cirq.CircuitDiagramInfoArgs(
known_qubits: Optional[Iterable['cirq.Qid']],
known_qubit_count: Optional[int],
use_unicode_characters: bool,
precision: Optional[int],
label_map: Optional[Dict['cirq.LabelEntity', int]],
include_tags: bool = True,
transpose: bool = False
) -> None
Methods
copy
copy()
format_complex
format_complex(
val: Union[sympy.Basic, int, float, 'cirq.TParamValComplex']
) -> str
format_radians
format_radians(
radians: Union[sympy.Basic, int, float]
) -> str
Returns angle in radians as a human-readable string.
format_real
format_real(
val: Union[sympy.Basic, int, float]
) -> str
with_args
with_args(
**kwargs
)
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool
Class Variables | |
---|---|
UNINFORMED_DEFAULT |
Instance of cirq.CircuitDiagramInfoArgs
|