cirq.QasmOutput.is_valid_qasm_id

QasmOutput.is_valid_qasm_id(id_str: str) → bool[source]

Test if id_str is a valid id in QASM grammar.