-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added pulses to the
SymbolicPulse
library (#9625)
* Corrected library pulses return types. * Added Sin and Cos Pulses * Add sawtooth pulse * Add triangle pulse * Add new pulses to _init_ and some corrections * Add tests, release notes and some corrections. * Release notes correction * Documentation correction * Update qiskit/pulse/library/symbolic_pulses.py Co-authored-by: Naoki Kanazawa <[email protected]> * Some corrections and modifications --------- Co-authored-by: Naoki Kanazawa <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e2d31ff
commit 3512bbd
Showing
5 changed files
with
440 additions
and
5 deletions.
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
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/add-new-symbolic-pulses-4dc46ecaaa1ba928.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,13 @@ | ||
--- | ||
features: | ||
- | | ||
The ``SymbolicPulse`` library was extended. The new pulses in the library are: | ||
* :class:``~qiskit.pulse.library.Sin`` | ||
* :class:``~qiskit.pulse.library.Cos`` | ||
* :class:``~qiskit.pulse.library.Sawtooth`` | ||
* :class:``~qiskit.pulse.library.Triangle`` | ||
The new functions return a ``ScalableSymbolicPulse``. With the exception of the ``Sawtooth`` phase, | ||
behaviour is identical to that of the corresponding waveform generators (:class:``~qiskit.pulse.library.sin`` etc). | ||
The ``Sawtooth`` phase is defined such that a phase of :math:``2\\pi`` shifts by a full cycle. |
Oops, something went wrong.