Skip to content

Commit 102312d

Browse files
authored
Allow expression in arguments in CalibrationDefinition (#11)
* Allow expression in arguments in CalibrationDefinition * Increment the version to 0.4.1
1 parent 40712b6 commit 102312d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

source/openpulse/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
antlr/
22
build/
33
dist/
4+
_antlr/
45

56
docs/_build

source/openpulse/openpulse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
the :obj:`~parser.parse` function.
1515
"""
1616

17-
__version__ = "0.4.0"
17+
__version__ = "0.4.1"
1818

1919
from . import ast
2020
from . import parser

source/openpulse/openpulse/ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class CalibrationDefinition(Statement):
9090
"""
9191

9292
name: Identifier
93-
arguments: List[ClassicalArgument]
93+
arguments: List[Union[ClassicalArgument, Expression]]
9494
qubits: List[Identifier]
9595
return_type: Optional[ClassicalType]
9696
body: List[Statement]

0 commit comments

Comments
 (0)