-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Unary mapping for bosonic operators (#6576)
**Context:** Added Unary mapping **Description of the Change:** Added functions to map bosonic operators to qubit form using unary mapping. **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** [sc-72640] --------- Co-authored-by: Austin Huang <[email protected]> Co-authored-by: Austin Huang <[email protected]> Co-authored-by: soranjh <[email protected]> Co-authored-by: Diego <[email protected]>
- Loading branch information
1 parent
6c44a57
commit a672a9b
Showing
7 changed files
with
816 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
qml.bose | ||
========= | ||
|
||
Overview | ||
-------- | ||
|
||
This module contains functions and classes for creating and manipulating bosonic operators. | ||
|
||
|
||
BoseWord and BoseSentence | ||
--------------------------- | ||
|
||
.. currentmodule:: pennylane.bose | ||
|
||
.. autosummary:: | ||
:toctree: api | ||
|
||
~BoseWord | ||
~BoseSentence | ||
|
||
Mapping to qubit operators | ||
-------------------------- | ||
|
||
.. currentmodule:: pennylane.bose | ||
|
||
.. autosummary:: | ||
:toctree: api | ||
|
||
~binary_mapping | ||
~unary_mapping | ||
|
||
|
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
Oops, something went wrong.