Skip to content

Commit

Permalink
Update minimum catalyst version (#5320)
Browse files Browse the repository at this point in the history
**Context:** `pennylane==0.35.0` and `pennylane-catalyst==0.4.1` have
some failing test.

**Description of the Change:** Update the minimum version of catalyst.

**Benefits:** Versions are compatible.
  • Loading branch information
erick-xanadu authored Mar 8, 2024
1 parent 1873e54 commit a4f0fff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pennylane/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from semantic_version import Version

PL_CATALYST_MIN_VERSION = Version("0.4.0")
PL_CATALYST_MIN_VERSION = Version("0.5.0")


class CompileError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def circuit():
return qml.state()

with pytest.raises(
CompileError, match="PennyLane-Catalyst 0.4.0 or greater is required, but installed 0.0.1"
CompileError, match="PennyLane-Catalyst 0.5.0 or greater is required, but installed 0.0.1"
):
qml.qjit(circuit)()

Expand Down

0 comments on commit a4f0fff

Please sign in to comment.