Skip to content

Commit

Permalink
show in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed May 13, 2024
1 parent 65e158f commit d806fa3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions doc/code/qml_noise.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Overview
--------

This module contains functions and classes for creating and manipulating noise models.

.. currentmodule:: pennylane.noise

.. automodapi:: pennylane.noise
:no-heading:
:no-main-docstr:
:no-inherited-members:
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ PennyLane is **free** and **open source**, released under the Apache License, Ve
code/qml_kernels
code/qml_logging
code/qml_math
code/qml_noise
code/qml_numpy
code/qml_ops_op_math
code/qml_pauli
Expand Down
13 changes: 11 additions & 2 deletions pennylane/noise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
r"""
"""This module contains the functionality to work with noise in PennyLane.
.. currentmodule:: pennylane
This module contains the functionality to work with noise in PennyLane.
.. autosummary::
:toctree: api
op_eq
op_in
partial_wires
wires_eq
wires_in
"""

from .conditionals import NoiseConditional, AndConditional, OrConditional
Expand Down

0 comments on commit d806fa3

Please sign in to comment.