cirq.CNotGate.text_diagram_info

CNotGate.text_diagram_info(args: cirq.ops.gate_features.TextDiagramInfoArgs) → cirq.ops.gate_features.TextDiagramInfo[source]

Describes how to draw something in a text diagram.

Parameters:args – A TextDiagramInfoArgs instance encapsulating various pieces of information (e.g. how many qubits are we being applied to) as well as user options (e.g. whether to avoid unicode characters).
Returns:A TextDiagramInfo instance describing what to print.