Skip to content

Commit

Permalink
refactored maps.py: added docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
devilkiller-ag committed Dec 10, 2024
1 parent c4fb12d commit 9ab5998
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pyqasm/maps/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
#
# THERE IS NO WARRANTY for pyqasm, as per Section 15 of the GPL v3.

"""
Module mapping supported QASM expressions to lower level gate operations.
"""


import numpy as np
from openqasm3.ast import (
AngleType,
Expand Down
6 changes: 6 additions & 0 deletions src/pyqasm/maps/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

# pylint: disable=too-many-lines

"""
Module mapping supported QASM gates to lower level gate operations.
"""


from typing import Callable, Union

import numpy as np
Expand Down

0 comments on commit 9ab5998

Please sign in to comment.