qoqo_qasm.qasm_call_operation
- qoqo_qasm.qasm_call_operation(operation, qubit_register_name, qasm_version)
Translate a qoqo operation to QASM text
- Parameters:
operation – The qoqo operation that is translated
qubit_register_name (str) – The name of the quantum register
- Returns:
The translated operation
- Return type:
str
- Raises:
TypeError – Operation conversion error
ValueError – Operation not in QASM backend