From 5fe576149e0837dcb6557ab4703ec8a34719f842 Mon Sep 17 00:00:00 2001 From: thisac Date: Tue, 18 Aug 2026 16:26:12 -0700 Subject: [PATCH 1/2] Add releasenotes --- .../first-qcdl-release-a59b8a0039094251.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml diff --git a/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml b/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml new file mode 100644 index 0000000..fd55003 --- /dev/null +++ b/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml @@ -0,0 +1,28 @@ +--- +prelude: > + First release of ``dwave-gate`` with quantum circuit description language + (QCDL) support. QCDL is an embedded domain-specific language, using Python + as its host language, for generating quantum circuit programs via the + ``@qcdl`` decorator. +features: + - | + Add the QCDL module (``dwave.gate.qcdl``), which includes the ``@qcdl`` + decorator and ``QCDLCircuit`` for building programs, a library of gates and + measurement operations, real-time control flow (``If``/``Else``, ``While``, + ``DoWhile``, ``For``, ``Repeat``), and classical registers (``Register``, + ``FixedPointRegister``). + - | + Add ``dwave.gate.results.Result``, a Pydantic model that decodes a solver's + answer data, exposing measurements and records, and providing + ``get_memory``, ``get_counts``, and ``run_time`` for retrieving per-shot + outcomes, sample counts, and run-times. + - | + Add ``dwave.gate.results.YieldHandling``, an enumeration of strategies + (``only_post_selected_counts``, ``renormalize_distribution``, and + ``renormalize_distribution_or_raise``) for handling shots with end-of-line + measurement errors (splats) when building counts. + - | + Add ``dwave.gate.utils.tunable_noise_model_helpers``, providing + ``create_oneq_gate_noise`` and ``create_twoq_gate_noise`` helpers for + building tunable single- and two-qubit gate noise models. + From 49fd280ae8eccbdad73a9b926647fa4a7aecd48f Mon Sep 17 00:00:00 2001 From: Theodor Isacsson Date: Wed, 19 Aug 2026 08:52:27 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Joel Pasvolsky <34041130+JoelPasvolsky@users.noreply.github.com> --- releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml b/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml index fd55003..9c25c9d 100644 --- a/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml +++ b/releasenotes/notes/first-qcdl-release-a59b8a0039094251.yaml @@ -9,13 +9,13 @@ features: Add the QCDL module (``dwave.gate.qcdl``), which includes the ``@qcdl`` decorator and ``QCDLCircuit`` for building programs, a library of gates and measurement operations, real-time control flow (``If``/``Else``, ``While``, - ``DoWhile``, ``For``, ``Repeat``), and classical registers (``Register``, + ``DoWhile``, ``For``, ``Repeat``, etc), and classical registers (``Register``, ``FixedPointRegister``). - | Add ``dwave.gate.results.Result``, a Pydantic model that decodes a solver's answer data, exposing measurements and records, and providing ``get_memory``, ``get_counts``, and ``run_time`` for retrieving per-shot - outcomes, sample counts, and run-times. + outcomes, sample counts, and run times. - | Add ``dwave.gate.results.YieldHandling``, an enumeration of strategies (``only_post_selected_counts``, ``renormalize_distribution``, and