View source on GitHub |
Organizes information about a symbol.
cirq_web.circuits.symbols.SymbolInfo(
labels: List[str], colors: List[str]
)
Attributes | |
---|---|
labels
|
Dataclass field |
colors
|
Dataclass field |
Methods
unknown_operation
@staticmethod
unknown_operation( num_qubits: int ) -> 'SymbolInfo'
Generates a SymbolInfo object for an unknown operation.
Args | |
---|---|
num_qubits
|
the number of qubits in the operation |
__eq__
__eq__(
other
)
Return self==value.