View source on GitHub |
Abstract class providing the interface for users to specify information
about how a particular symbol should be displayed in the 3D circuit
Methods
resolve
@abc.abstractmethod
resolve( operation: cirq.Operation ) -> Optional[
cirq_web.circuits.symbols.SymbolInfo
]
Converts cirq.Operation objects into SymbolInfo objects for serialization.
__call__
__call__(
operation: cirq.Operation
) -> Optional[cirq_web.circuits.symbols.SymbolInfo
]
Call self as a function.