Skip to content

Commit

Permalink
sphonx
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacdevlugt committed Jan 8, 2025
1 parent dbbf12d commit 9001f54
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/releases/changelog-0.40.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@

<h4>Bosonic operators 🎈</h4>

A new module, :doc:`qml.bose <~.bose>`, for bosonic function is available in PennyLane with the
A new module, :mod:`qml.bose <pennylane.bose>`, for bosonic function is available in PennyLane with the
following features.

* Bosonic operators analogous to `FermiWord` and `FermiSentence` are now available with
:class:`qml.BoseWord <~pennylane.BoseWord>` and :class:`qml.BoseSentence <~pennylane.BoseSentence>`.
:class:`qml.BoseWord <pennylane.BoseWord>` and :class:`qml.BoseSentence <pennylane.BoseSentence>`.
[(#6518)](https://github.com/PennyLaneAI/pennylane/pull/6518)

:class:`qml.BoseWord <~pennylane.BoseWord>` and :class:`qml.BoseSentence <~pennylane.BoseSentence>` work very
:class:`qml.BoseWord <pennylane.BoseWord>` and :class:`qml.BoseSentence <pennylane.BoseSentence>` work very
similarly compared to their fermionic counterparts. To create a Bose word, a dictionary is
required as input, where the keys are tuples of boson indicies and values are `'+/-'` (denoting
the bosonic creation/annihilation operators). For example, the :math:`b^{\dagger}_0 b_1` can be
Expand All @@ -110,14 +110,14 @@ following features.
```

* Functionality for converting bosonic operators to qubit operators is available with
:func:`qml.unary_mapping <~pennylane.unary_mapping>`, :func:`qml.binary_mapping <~pennylane..binary_mapping>`, and
:func:`qml.christiansen_mapping <~pennylane.christiansen_mapping>`.
:func:`qml.unary_mapping <pennylane.unary_mapping>`, :func:`qml.binary_mapping <pennylane..binary_mapping>`, and
:func:`qml.christiansen_mapping <pennylane.christiansen_mapping>`.
[(#6623)](https://github.com/PennyLaneAI/pennylane/pull/6623)
[(#6576)](https://github.com/PennyLaneAI/pennylane/pull/6576)
[(#6564)](https://github.com/PennyLaneAI/pennylane/pull/6564)

All three mappings follow the same syntax, where a :class:`qml.BoseWord <~pennylane.BoseWord>` or
:class:`qml.BoseSentence <~pennylane.BoseSentence>` is required as input.
All three mappings follow the same syntax, where a :class:`qml.BoseWord <pennylane.BoseWord>` or
:class:`qml.BoseSentence <pennylane.BoseSentence>` is required as input.

```python
>>> w = qml.BoseWord({(0, 0): "+"})
Expand Down

0 comments on commit 9001f54

Please sign in to comment.