qiskit_qm_provider.backend.backend_utils.get_qua_script¶
- get_qua_script(backend: QMBackend, circuit: QuantumCircuit, param_table=None) str[source][source]¶
Compile a circuit to QUA and return the running QUA script as a string.
- Parameters:
backend – The QM backend (used for quantum_circuit_to_qua and generate_config).
circuit – The transpiled QuantumCircuit to compile to QUA.
param_table – Optional parameter table for parameterized circuits (same as for quantum_circuit_to_qua).
- Returns:
The QUA script string (Python source of the program that would be executed).