View source on GitHub |
An object that can be turned into QASM code.
cirq.SupportsQasm(
*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_() -> Union[None, NotImplementedType, str]