Skip to content

Commit 182a6ae

Browse files
authored
0.8 release notes (#1477)
1 parent 8e50bec commit 182a6ae

11 files changed

+159
-94
lines changed

docs/release_notes.rst

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,158 @@ Release Notes
55
.. release-notes::
66
:earliest-version: 0.7.0
77

8+
.. _Release Notes_0.7.0:
9+
10+
0.7.0
11+
=====
12+
13+
.. _Release Notes_0.7.0_Prelude:
14+
15+
Prelude
16+
-------
17+
18+
.. releasenotes/notes/0.7/0_7_release-96efcec2c45dcf74.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
19+
20+
The Qiskit Experiments 0.7 release adds the Layer Fidelity experiment and makes some fixes and improvements.
21+
22+
23+
.. _Release Notes_0.7.0_New Features:
24+
25+
New Features
26+
------------
27+
28+
.. releasenotes/notes/0.7/layer-fidelity-1e09dea9e5b69515.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
29+
30+
- Add a new experiment class :class:`.LayerFidelity` to measure
31+
`layer fidelity and EPLG (error per layered gate) <https://arxiv.org/abs/2311.05933>`_,
32+
which is a holistic benchmark to characterize the full quality of the devices at scale.
33+
34+
It has an experimental feature: its :meth:`circuits`
35+
exceptionally returns circuits on physical qubits (not virtual qubits as usual).
36+
Its analysis class :class:`.LayerFidelityAnalysis` returns :class:`.AnalysisResultData`
37+
which contains several ``extra`` entries to help additional analyses: e.g.
38+
``qubits`` to ease the query of sub-analysis results and
39+
``reason`` to tell users why the ``quality`` of the analysis was ``"bad"``.
40+
41+
For example, the syntax for pulling out the individual fidelities looks like below.
42+
43+
.. code-block:: python
44+
45+
df = exp_data.analysis_results(dataframe=True)
46+
df[(df.name=="ProcessFidelity") & (df.qubits==(59, 60))].value
47+
48+
See `an example notebook
49+
<https://github.com/qiskit-community/qiskit-device-benchmarking/blob/main/notebooks/layer_fidelity.ipynb>`_
50+
for more examples such as how to select a best possible qubit chain to measure and
51+
how to plot EPLG as a function of (sub)chain length.
52+
53+
.. releasenotes/notes/0.7/residuals_plot-377aabb9193a5a98.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
54+
55+
- Added an option to plot residuals for single-figure experiments, which is enable by setting ``plot_residuals`` to ``True``.
56+
57+
.. releasenotes/notes/0.7/residuals_plot-377aabb9193a5a98.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
58+
59+
- Introduced ``sub_plot_heights_list`` and ``sub_plot_widths_list`` attributes in :class:`.PlotStyle` for customizable
60+
subplot sizes where each list needs to sum up to 1. This feature currently works only for experiments with
61+
no subplots.
62+
63+
64+
.. _Release Notes_0.7.0_Known Issues:
65+
66+
Known Issues
67+
------------
68+
69+
.. releasenotes/notes/0.7/0_6_deprecations-9a399c48c2d461f1.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
70+
71+
- Fit parameters are not populated in composite curve analysis results and are
72+
found only in the fit summary artifact. In a future release, they will be
73+
removed from all analysis result objects and live in the artifacts only.
74+
75+
76+
.. _Release Notes_0.7.0_Upgrade Notes:
77+
78+
Upgrade Notes
79+
-------------
80+
81+
.. releasenotes/notes/0.7/0_7_release-96efcec2c45dcf74.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
82+
83+
- Changes in behavior that users should be aware of when upgrading Qiskit Experiments
84+
to this version are listed below in subsections by functional area.
85+
86+
87+
.. _Release Notes_0.7.0_Package Upgrades:
88+
89+
Package Upgrades
90+
^^^^^^^^^^^^^^^^
91+
92+
.. releasenotes/notes/0.7/0_6_deprecations-9a399c48c2d461f1.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
93+
94+
- Several deprecated modules, methods, functions, and options have been removed and will no longer work:
95+
96+
* The visualization module of :mod:`.CurveAnalysis` has been replaced by the
97+
standalone :mod:`.visualization` module. The ``LegacyCurveCompatDrawer`` has
98+
been removed from :mod:`.visualization`.
99+
* The ``curve_drawer`` option to :class:`.CompositeCurveAnalysis` has been
100+
replaced by the plotter in the visualization module.
101+
* The ``SeriesDef`` dataclass has been removed and replaced by the ``LMFIT`` module.
102+
* The ``CurveData`` dataclass has been removed and replaced by :class:`.ScatterTable`'s DataFrame representation.
103+
* ``random_cliffords()`` and ``random_clifford_circuits()`` have been
104+
removed from :class:`.CliffordUtils` and replaced by :meth:`.StandardRB.__sample_sequence`.
105+
* ``beta`` has been renamed to ``outcome_prior`` in the tomography utility
106+
function ``binomial_weights()``.
107+
* The ``return_data_points`` option has been removed from curve analysis.
108+
Data points are now automatically provided in :class:`.ExperimentData` objects via the ``curve_data``
109+
artifact.
110+
* The default value of ``flatten_results`` in composite experiments has changed to ``True``.
111+
112+
113+
.. _Release Notes_0.7.0_Deprecation Notes:
114+
115+
Deprecation Notes
116+
-----------------
117+
118+
.. releasenotes/notes/0.7/0_6_deprecations-9a399c48c2d461f1.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
119+
120+
- Accessing experiment data artifacts by numerical index has been
121+
deprecated. Use the name or ID of the artifact instead.
122+
123+
124+
.. _Release Notes_0.7.0_Bug Fixes:
125+
126+
Bug Fixes
127+
---------
128+
129+
.. releasenotes/notes/0.7/fix-ecr-epg-59c8db98494966b0.yaml @ b'7a0924c24549ab4f38819a86c0ac49214d819ba2'
130+
131+
- Fixed a bug in EPG (error per gate) computation in :class:`~.RBAnalysis`
132+
where it fails with a ``TypeError`` for backends with ECR gate
133+
as a 2-qubit basis gate (e.g. IBM Eagle processors).
134+
See
135+
`#1419
136+
<https://github.com/Qiskit-Community/qiskit-experiments/pull/1419>`_.
137+
for the details of the bug.
138+
139+
.. releasenotes/notes/0.7/fix-epg-gatecount-60777f7a3f3566bc.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
140+
141+
- The gate counting for EPG in the RB analysis code was not including the
142+
inverse, so that the total number of operations per Clifford was incorrect,
143+
leading to incorrect reporting of EPG from EPC. Fixed by adding +1 for the
144+
inverse gate.
145+
146+
147+
.. _Release Notes_0.7.0_Other Notes:
148+
149+
Other Notes
150+
-----------
151+
152+
.. releasenotes/notes/0.7/add-examples-to-characterization-experiments-e77d4d26c6b49694.yaml @ b'517532eb307897896d549f7e3de69485801d67a8'
153+
154+
- Added minimal working code examples to many experiment API pages,
155+
especially characterization experiments. The minimal working code example
156+
is a code snippet which users can copy and paste to run the experiment.
157+
Users are required to specify a backend to use the code example. By default,
158+
the backend used in the examples is a simulator such as ``FakeManilaV2``.
159+
8160
.. _Release Notes_0.6.1:
9161

10162
0.6.1

releasenotes/notes/0.7/0_6_deprecations-9a399c48c2d461f1.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

releasenotes/notes/0.7/0_7_release-96efcec2c45dcf74.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

releasenotes/notes/0.7/add-examples-to-characterization-experiments-e77d4d26c6b49694.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

releasenotes/notes/0.7/fix-ecr-epg-59c8db98494966b0.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

releasenotes/notes/0.7/fix-epg-gatecount-60777f7a3f3566bc.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

releasenotes/notes/0.7/layer-fidelity-1e09dea9e5b69515.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

releasenotes/notes/0.7/residuals_plot-377aabb9193a5a98.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.
File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Qiskit Experiments was updated to be compatible with Qiskit 1.2,
5+
including removing references to ``QuantumCircuit._parameter_table``
6+
which prevented randomized benchmarking and layer fidelity
7+
experiments from running.

0 commit comments

Comments
 (0)