Tools to Generate IQM JSON from Qiskit QuantumCircuit#
The tools demonstrate the generation of IQM JSON input from a quantum circuit example.
Prerequisites#
Python 3.11 or above
Install dependencies#
pip install -f requirements.txt
Tools#
gen_iqm_json.py#
Generates IQM JSON input for the circuit introduced in the starter notebook provided by IQM.
Usage:
usage: gen_iqm_json.py [-h] qc_alias base_url token
A tool to generate IQM JSON from sample QuantumCircuit
positional arguments:
qc_alias QC alias(e.g. sirius:mock)
base_url IQM Server API endpoint
token IQM Server API token
options:
-h, --help show this help message and exit
Example:
python gen_iqm_json.py sirius:mock https://resonance.meetiqm.com <your API token>
Output:
Files |
Descriptions |
|---|---|
|
IQM JSON input. |
|
An input for QRMI task runner,
which contains additional
properties - |