Changelog¶
All notable changes to qaas are documented here.
The format follows Keep a Changelog, and the
project uses Semantic Versioning with
PEP 440 pre-release suffixes (a1, b1, rc1).
1.1.0 - 2026-11-20¶
Makes qheappe_client backends follow the Qiskit BackendV2 / JobV1 contract, so
BackendSamplerV2, BackendEstimatorV2, qiskit-experiments and other tools that take
a backend work unchanged (#49).
Changed¶
- Breaking:
QJob.result()always returns aqiskit.result.Result, asJobV1.result()requires. Code that readsjob.result()[0].data.measneedsQSamplerV2(below).
Added¶
QSamplerV2, a QaaS sampler primitive (BaseSamplerV2) whose jobs return aPrimitiveResult. It replacesPrimitiveResultoutput onQJob. Each PUB result has oneBitArrayper classical register, read from the IQM measurement keys, and keeps the shape of the PUB's parameter values. PUBs with different shot counts run as separate HEAppE jobs.QSamplerJob, the jobQSamplerV2.run()returns, withstatus(),cancel()andjobs(the underlyingQJobs).QJob.wait_for_final_state(timeout=None, wait=5, callback=None)follows HEAppE's event websocket instead of pollingstatus()everywaitseconds, with the same interface andJobTimeoutErroras Qiskit's. The job info is still fetched everywaitseconds as a backup, for state changes made before the websocket connected or when it fails.QJob.result()waits the same way.QSamplerJob.wait_for_final_state(...), the same for all backend jobs of a sampler job, with a shared timeout.- Example notebooks
backend_QBackend_qheappe.ipynb(backend.run(),memory=True, several registers and circuits,cancel(),BackendEstimatorV2) andsampler_QSamplerV2_qheappe.ipynb(QSamplerV2, parameter sweeps,BackendSamplerV2). The random number example uses per-shot results and checks uniformity. - Live integration tests for pulse-level parameter sweeps with
iqm-exa-common: hard sweeps over gate parameters, soft sweeps over controller settings (drive frequency), and both combined (#20). - The documentation of every release from 1.0.0a1 on is kept in its own folder (e.g.
1.1.0/). The default channelstable/is renamedlatest/(the latest stable release); old/stable/...links redirect to it. The docs have a Changelog page.
Fixed¶
- Breaking:
QJob.result()bitstrings now follow the Qiskit bit order (clbit 0 rightmost, registers in circuit order), as documented. Before, they were reversed:x(0)on 3 qubits read100instead of001, soBackendSamplerV2assigned bits to the wrong registers. Bits are now placed using the IQM measurement keys. - Breaking:
QJob.result()keeps the circuit's classical registers, read from the IQM measurement keys. Counts and memory of a circuit with several registers read e.g."0 01"(registers separated by a space), as in Qiskit,IQMBackendand the legacyqaas.client; before,"001". Circuits with one register (e.g.measure_all()) are unchanged. QJob.result()names each experiment after its circuit and includes the circuit's metadata, as Qiskit backends do, soresult.get_counts(circuit)works. Before, experiments were namedcircuit-0, … without metadata. A job re-created withQJob(backend, job_id)still usescircuit-<i>names and empty metadata, because the circuits are not available then.QJob.cancel()now sends the cancel request to HEAppE and returns whether it was accepted. Before, the request was never sent.QJob.status()after a cancel returnsJobStatus.CANCELLED. Before, it raisedAttributeError(it usedJobStatus.CANCELED, which Qiskit does not define).backend.run(circuits)withoutshotsusesbackend.options.shots(default 1024), asBackendV2.run()expects. Before, it raisedTypeError.QJob.result()no longer hangs on a job that finished before the wait started. It used the job state from submission time and waited on the HEAppE event stream, which does not report state changes that happened before it opened. It now reuses a final state already seen bystatus(), otherwise asks HEAppE first, and refreshes the job info after waiting.backend.transpile()keeps each circuit's metadata.transpile_to_IQMdropped it on backends with a resonator (e.g. VLQ), so results lost the circuit metadata.QProvider.list_available_backends()connects its client (and closes it afterwards). Before, it raisedQAuthExceptionbecause the client was never authenticated.- A failed LEXIS resource lookup (e.g. HTTP 503) raises
QAuthException("Failed to authorize LEXIS resource: ..."). Before, a wrong internal call raisedTypeError.
Removed¶
- Breaking: the
qiskit_legacyargument ofQJob.result(). Dropqiskit_legacy=True; replaceqiskit_legacy=FalsewithQSamplerV2, orqiskit.primitives.BackendSamplerV2(backend). - Breaking: the
key_order_left_to_rightargument ofQJob.result(),result_to_qiskit()andresult_to_qiskit_legacy(). Bitstrings always follow the Qiskit order; reverse them yourself (bits[::-1]) if you need the opposite. - Breaking: the
with_measurementsargument ofQJob.result(), which now takes no arguments, asJobV1.result(). Per-shot results come frombackend.run(..., memory=True), orQJob(backend, job_id, memory=True)for an earlier job.
1.0.1 - 2026-11-12¶
Fixed¶
backend.run(..., memory=True)is now honored: the job downloads per-shot measurements, andresult()includes them (Result.get_memory(),PrimitiveResult[i].data.meas.get_bitstrings()). Before,memorywas ignored, soBackendSamplerV2got no per-shot data and reported all-zero bitstrings (e.g.{'00': 1024}for a Bell state) (#49).QJob.status()queries HEAppE again, asqaas.clientdid, until the job reaches a terminal state. Before, it returned a cached status that onlyresult()updated, sostatus(),done()andin_final_state()reportedQUEUEDuntilresult()was called, andwait_for_final_state()never returned (#50).- HEAppE
QueuedandWaitingForServiceAccountstates map toJobStatus.QUEUED. Before, they mapped toJobStatus.ERROR.
Changed¶
QJob.result(with_measurements=...)now defaults toNone, which follows thememoryoption given tobackend.run()(defaultFalse). An explicitTrueorFalsestill overrides it, so existing calls behave as before.QBackenddefault options now includememory=False.- The documentation is published in versions, with a version selector: the latest stable release and the latest pre-release.
1.0.0 - 2026-11-06¶
First stable release.