View source on GitHub |
An object that can be turned into QASM code.
cirq.SupportsQasmWithArgs(
*args, **kwargs
)
Returning NotImplemented
or None
means "don't know how to turn into
QASM". In that case fallbacks based on decomposition and known unitaries
will be used instead.
Methods
_qasm_
_qasm_(
args: cirq.QasmArgs
) -> Union[None, NotImplementedType, str]