Skip to content

Commit

Permalink
Move new release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Feb 15, 2024
1 parent d10fc73 commit 674ed7d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 6 additions & 0 deletions releasenotes/notes/1.0/fix_11536-c87d192a133b3dc3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Fixed an issue with the :func:`.circuit_drawer` function and
:meth:`.QuantumCircuit.draw` method when loading a matplotlib style
via the user configuration file.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
features:
features_primitives:
- |
Version 2 of the primitives is introduced via a new base class for both the sampler and the
estimator, along with new types for their inputs and outputs. The emphasis of this new
Expand All @@ -15,7 +15,7 @@ features:
(e.g. bitstrings) from every shot, rather than providing a :class:`~.Counts`\-like return, and
also to store data from separate :class:`~.ClassicalRegister`\s . This enables derived classes
to implement sampler support for circuits with classical control flow.
The primitive V2 base classes are:
* :class:`.BaseSamplerV2`
Expand All @@ -36,11 +36,11 @@ features:
The reference implementation :class:`~.StatevectorEstimator` of :class:`~.BaseEstimatorV2` was
added. As seen in the example below, this estimator (and all V2 estimators) supports providing
arrays of observables and/or arrays of parameter value sets that are attached to particular
circuits.
circuits.
Each tuple of ``(circuit, observables, <optional> parameter values, <optional> precision)``,
called an estimator primitive unified bloc (PUB), produces its own array-based result. The
:meth:`~.EstimatorV2.run` method can be given many pubs at once.
:meth:`~.EstimatorV2.run` method can be given many pubs at once.
.. code-block:: python
Expand Down Expand Up @@ -100,15 +100,15 @@ features:
for idx, pauli in enumerate(observables):
plt.plot(result.data.evs[idx], label=pauli)
plt.legend()
- |
The reference implementation :class:`~.StatevectorSampler` of :class:`~.BaseSamplerV2` was
added. As seen in the example below, this sampler (and all V2 samplers) supports
providing arrays of parameter value sets to bind against a single circuit.
Each tuple of ``(circuit, <optional> parameter values, <optional> shots)``, called a sampler
primitive unified bloc (PUB), produces its own array-based result. The :meth:`~.SamplerV2.run`
method can be given many pubs at once.
method can be given many pubs at once.
.. code-block:: python
Expand Down Expand Up @@ -174,4 +174,4 @@ features:
# Or, convert into a list of bitstrings that preserve shot order.
bitstrings = result.data.alpha.get_bitstrings(22)
print(bitstrings)
print(bitstrings)
4 changes: 0 additions & 4 deletions releasenotes/notes/fix_11536-c87d192a133b3dc3.yaml

This file was deleted.

0 comments on commit 674ed7d

Please sign in to comment.