Repository navigation
Conversation
The qrmi_driver can take two new options: - compilations_options - quantum circuit parameter values Propagate these options from the qiskit program to the qrmi_driver through the info dictionary. Signed-off-by: Claudio Carvalho <cclaudio@ibm.com>
Add example scripts and tests exercising IBM Quantum System devices through QFw: - qfw_ibm_frontend.sh / test_ibm_frontend.py: call the QFw Frontend directly with a QRMI driver, without starting a QPM. - qfw_ibm_qpm_local.sh / test_ibm_qpm.py: run a parameterized 3-qubit circuit through a locally started QPMd (credentials required). - qfw_ibm_qpm_site.sh: same flow against a site-provided QPM. Install the three new scripts via CMakeLists.txt. Signed-off-by: Claudio Carvalho <cclaudio@ibm.com>
|
Thanks for this. Couple of notes:
|
Summary
QFwBackend.run()now forwards param_values and compilation_options to the QFw job info. Before, these options were dropped, and run() printed an "Option … is not used by this backend" warning for them. The PR also adds example scripts and tests for the IBM Quantum System (QSA) path.Changes
Option propagation (qfw_qiskit: propagate options from options to info)
backends/qfw_qiskit/qfw_simulator.py: adds QFW_INFO_PASSTHROUGH_OPTIONS = ("param_values", "compilation_options").backends/qfw_qiskit/qfw_job.py: QFwJob copies both options into info when they are not None, so they reach the QPM/driver.IBM QSA examples (examples: add IBM QSA frontend and QPM examples)
examples/qfw_ibm_frontend.sh: takes a device-access YAML and runs tests/test_ibm_frontend.py. It calls Frontend and QrmiDriver directly, with no QPM.examples/qfw_ibm_qpm_local.shandexamples/qfw_ibm_qpm_site.sh: run an IBM QSA job through a local QPM and a site QPM. Both run tests/test_ibm_qpm.py.CMakeLists.txt: installs the three new scripts.