-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare 0.17.0 release #6075
Merged
Merged
Prepare 0.17.0 release #6075
Changes from 18 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
079127f
Prepare 0.17.0 release
mtreinish 05ac512
Add feature note for aqua migrated modules
mtreinish 161166e
Update release notes abd add piecewise chebyshev to docs and library …
mtreinish f5f7ccc
Update more release notes and add abstract pass classes to docs
mtreinish 2199e33
More release note updates
mtreinish 5d6a3d3
Update more release notes and add clifford_decompose to api docs
mtreinish 4473c03
Add RZXCalibration pass and templates to docs and update release notes
mtreinish aededb0
Update more release notes
mtreinish 4078d2d
Fix typo in decompose_clifford imports and release notes
mtreinish 143efd9
Fix docs build
mtreinish 5b1a6a6
Add hellinger_distance to docs
mtreinish 246e11c
Add RZXCalibrationBuilder to the docs
mtreinish 51a6509
More release note updates
mtreinish 8c95ab4
Fix import error
mtreinish d6764ba
Merge branch 'master' into prepare-0.17
mtreinish 652d4b2
Fix RZXCalibrationBuilder docstring
mtreinish 2a42037
Finish updating the new feature release notes
mtreinish d4077ce
Fix lint
mtreinish adb5a43
Apply suggestions from code review
mtreinish 1ddd51f
Merge branch 'master' into prepare-0.17
mtreinish d1af313
Move new release notes to 0.17 dir and update
mtreinish a3effda
Fix RVGate docs and start updating upgrade notes
mtreinish b911640
Fix PauliGate example circuit visualization
mtreinish 7b79393
Fix typo
mtreinish 0c12fbc
More release note updates
mtreinish b90bc26
Update meas_map release note again
lcapelluto 0c25fcb
Fix whitespace in meas_map release note
mtreinish ead73ad
Fix docs build
mtreinish afe2ec4
Update almost all of the upgrade notes
mtreinish 8080cb5
Add latex to docs job env
mtreinish c5dab7c
Revert "Add latex to docs job env"
mtreinish b01407d
Remove latex drawing from the release notes
mtreinish 3f9aa6d
Merge branch 'master' into prepare-0.17
mtreinish ea29d21
Remove fix note for unreleased feature
mtreinish 6a77e76
Move and update new release notes
mtreinish b099c5e
Remove unnecessary upgrade note about internal API changes
mtreinish e23f219
More release note updates
mtreinish ed4099f
More release note updates
mtreinish 04a15c3
Even more release note updates
mtreinish 534aa18
Merge branch 'master' into prepare-0.17
mtreinish 6a1089b
Fix syntax error
mtreinish 3ea36d0
Fix docs build
mtreinish 70e6453
Merge branch 'master' into prepare-0.17
mtreinish b3de877
Merge branch 'master' into prepare-0.17
mtreinish b547456
Move new release notes and fix docs issues from #5609
mtreinish fb926c6
Update more release notes
mtreinish fd408f7
Merge remote-tracking branch 'origin/master' into prepare-0.17
mtreinish f655d11
Move new release notes
mtreinish 664d5bb
More release note updates
mtreinish 413b79b
Finish fixes notes
mtreinish 4d2968a
Fix docs build
mtreinish c982bed
Merge branch 'master' into prepare-0.17
mtreinish 8057aa7
Update more relaese notes
mtreinish cf8e234
Apply suggestions from code review
mtreinish 509fcfe
More note fixes
mtreinish 1d0633c
Merge remote-tracking branch 'origin/master' into prepare-0.17
mtreinish 3b53838
Update new release notes
mtreinish 3ec86ec
Apply suggestions from code review
mtreinish 90d17ec
Merge remote-tracking branch 'origin/master' into prepare-0.17
mtreinish 1c920e2
Move and update new release notes
mtreinish fcddd25
Apply suggestions from code review
mtreinish 8874681
cleaning up docs for vqe
jaygambetta 07aa18e
clean up extend
jaygambetta 786b86a
Merge branch 'master' into master
Cryoris c4b39d3
Merge remote-tracking branch 'origin/master' into prepare-0.17
mtreinish 682791b
Fix reno merge commit error
mtreinish dedfa6d
Merge branch 'jaygambetta-master' into prepare-0.17
mtreinish fa9cd68
Revert accidental tox.ini change
mtreinish 89d69a7
Tweak release note wording
mtreinish 5b744ed
Merge remote-tracking branch 'origin/master' into prepare-0.17
mtreinish 6d682ec
Move and update new release notes
mtreinish ddf20c8
Merge branch 'master' into prepare-0.17
mtreinish 50531f3
Attempt to retrigger azure
mtreinish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/0.17/add-config-processor-type-field-916f98f2eebf7e72.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`qiskit.providers.models.QasmBackendConfiguration` has a new | ||
field ``processor_type`` which can optionally be used to provide | ||
information about a backend's processor in the form: | ||
``{"family": <str>, "revision": <str>, segment: <str>}``. For example: | ||
``{"family": "Canary", "revision": "1.0", segment: "A"}``. |
25 changes: 25 additions & 0 deletions
25
releasenotes/notes/0.17/add-parameters-and-is_parameterized-to-pulse-d5695dd14e407537.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
features: | ||
- | | ||
The :py:class:`qiskit.pulse.Schedule`, | ||
:py:class:`qiskit.pulse.Instruction`, and :py:class:`qiskit.pulse.Channel` | ||
classes now have a :attr:`~qiiskit.pulse.Schedule.parameter` property | ||
which will return any :class:`~qiskit.circuit.Parameter` objects used | ||
in the object and a :meth:`~qiskit.pulse.Schedule.is_parameterized()` | ||
method which will return ``True`` if any parameters are used in the | ||
object. | ||
|
||
For example: | ||
|
||
.. jupyter-execute:: | ||
|
||
from qiskit.circuit import Parameter | ||
from qiskit import pulse | ||
|
||
shift = Parameter('alpha') | ||
|
||
schedule = pulse.Schedule() | ||
schedule += pulse.SetFrequency(shift, pulse.DriveChannel(0)) | ||
|
||
assert schedule.is_parameterized() == True | ||
print(schedule.parameters) |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
releasenotes/notes/0.17/add-piecewise-polynomial-chebyshev-66c82ffe1d749dd6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
features: | ||
- | | ||
Added a :class:`~qiskit.circuit.library.PiecewiseChebyshev` to the | ||
:mod:`qiskit.circuit.library` for implementing a piecewise Chebyshev | ||
approximation of an input function. For a given function :math:`f(x)` | ||
and degree :math:`d`, this class class implements | ||
a piecewise polynomial Chebyshev approximation on :math:`n` qubits | ||
to :math:`f(x)` on the given intervals. All the polynomials in the | ||
approximation are of degree :math:`d`. | ||
|
||
For example: | ||
|
||
.. jupyter-execute:: | ||
|
||
import numpy as np | ||
from qiskit import QuantumCircuit | ||
from qiskit.circuit.library.arithmetic.piecewise_chebyshev import PiecewiseChebyshev | ||
f_x, degree, breakpoints, num_state_qubits = lambda x: np.arcsin(1 / x), 2, [2, 4], 2 | ||
pw_approximation = PiecewiseChebyshev(f_x, degree, breakpoints, num_state_qubits) | ||
pw_approximation._build() | ||
qc = QuantumCircuit(pw_approximation.num_qubits) | ||
qc.h(list(range(num_state_qubits))) | ||
qc.append(pw_approximation.to_instruction(), qc.qubits) | ||
qc.draw(output='mpl') |
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
.../add_array_to_latex-0b5f655a47f132c0.yaml → .../add_array_to_latex-0b5f655a47f132c0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
releasenotes/notes/0.17/add_state_ipython-6fd6305f3db04a23.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`~qiskit.quantum_info.Statevector` and | ||
:class:`~qiskit.quantum_info.DensityMatrix` classes now have | ||
:meth:`~qiskit.quantum_info.StateVector.draw` methods which allow objects | ||
to be drawn as either text matrices, IPython Latex objects, Latex source, | ||
Q-spheres, Bloch spheres and Hinton plots. By default the output type | ||
is the equivalent output from ``__repr__`` but this default can be changed | ||
in a user config file by setting the ``state_drawer`` option. For example: | ||
|
||
.. jupyter-execute:: | ||
|
||
from qiskit.quantum_info import DensityMatrix | ||
dm = DensityMatrix.from_label('r0') | ||
dm.draw('latex') | ||
|
||
.. jupyter-execute:: | ||
|
||
from qiskit.quantum_info import Statevector | ||
sv = Statevector.from_label('+r') | ||
sv.draw('qsphere') | ||
|
||
Additionally, the :meth:`~qiskit.quantum_info.DensityMatrix.draw` method | ||
is now used for the ipython display of these classes, so if you change the | ||
default output type in a user config file then when a | ||
:class:`~qiskit.quantum_info.Statevector` or a | ||
:class:`~qiskit.quantum_info.DensityMatrix` object are displayed in | ||
a jupyter notebook that output type will be used for the object. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/0.17/circuit-meas-level-one-147399217ce0b34b.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`~qiskit.circuit.QasmQobjConfig` class now has an optional | ||
kwarg for ``meas_level`` and ``meas_return``. These fields can be used | ||
to enable generating :class:`~qiskit.circuit.QasmQobj` job payloads that | ||
support ``meas_level=1`` (kerneled data) for circuit jobs (previously | ||
this was only exposed for :class:`~qiskit.circuit.PulseQobj` objects). | ||
The :func:`~qiskit.compiler.assemble` function has been updated | ||
to set this field for :class:`~qiskit.circuit.QasmQobj` objects it | ||
generates. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed if #5854 is merged? The parameter framework of pulse module will be updated by this PR (it is centralized in manager class, rather than attaching parameter table to each piece of the program).
In #5854 there is also deprecation statement regarding this reno. That statement can be removed along with this. @lcapelluto ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought
.parameters
andis_parameterized
was still supported on these objects?