ControlledGate.qasm_name

property ControlledGate.qasm_name: str

Override default Gate.qasm_name method.

If the core gate is a standard gate, this function will output qasm in the form ‘c+<gate_qasm>’. Otherwise an error will be raised.

Raises:

ValueError – If the core gate is non-standard in OpenQASM 2.0.