Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qml.execute no longer accepts mcm_config argument #6807

Merged
merged 33 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4ec4b38
fix: Initial code addition w/ test fixing
andrijapau Jan 10, 2025
23bdaaf
Merge branch 'master' into fix-execute-signature
andrijapau Jan 10, 2025
5d7565f
fix: Move mcm_config kwarg to the bottom
andrijapau Jan 10, 2025
a187285
doc: Update changelog-dev.md
andrijapau Jan 10, 2025
2d5ef5e
fix: Update capture to use new execute_kwargs
andrijapau Jan 10, 2025
0bda24f
doc: Update deprecations.rst
andrijapau Jan 13, 2025
549931b
doc: Update changelog-dev.md
andrijapau Jan 13, 2025
266438f
Update doc/development/deprecations.rst
andrijapau Jan 13, 2025
6ac3995
Update doc/releases/changelog-dev.md
andrijapau Jan 13, 2025
fe8e295
doc: Update execute doc string
andrijapau Jan 13, 2025
432faaf
Merge branch 'fix-execute-signature' of github.com:PennyLaneAI/pennyl…
andrijapau Jan 13, 2025
231e3c0
Merge branch 'master' into fix-execute-signature
andrijapau Jan 13, 2025
7d9376e
Update doc/releases/changelog-dev.md
andrijapau Jan 14, 2025
a63e01f
Merge branch 'master' into fix-execute-signature
andrijapau Jan 14, 2025
391cbba
fix: Update _capture_qnode.py
andrijapau Jan 14, 2025
8d61d2e
fix: Add xfails
andrijapau Jan 14, 2025
df93fdc
Revert "fix: Add xfails"
andrijapau Jan 14, 2025
ea4a20c
fix: Add xfails
andrijapau Jan 14, 2025
d717c0e
fix: Add remaining xfails
andrijapau Jan 14, 2025
c9a1f26
fix: Move xfail in TestTransformDispatcher
andrijapau Jan 14, 2025
b02f0f0
fix: Update test_execute.py to test for deprecation of mcm_config
andrijapau Jan 14, 2025
154d03b
Update doc/releases/changelog-dev.md
andrijapau Jan 15, 2025
34761e1
Merge branch 'master' into fix-execute-signature
andrijapau Jan 22, 2025
b305840
Trigger CI
andrijapau Jan 22, 2025
e4ee93b
Merge branch 'master' into fix-execute-signature
andrijapau Jan 22, 2025
069c4ad
Trigger CI
andrijapau Jan 22, 2025
fef5a4d
fix: Update test_capture_qnode.py for unnecessary code
andrijapau Jan 22, 2025
dc5ba37
Merge branch 'master' into fix-execute-signature
andrijapau Jan 22, 2025
a7a73b7
Merge branch 'master' into fix-execute-signature
andrijapau Jan 23, 2025
f242d76
Merge branch 'master' into fix-execute-signature
andrijapau Jan 23, 2025
361efcf
Merge branch 'master' into fix-execute-signature
andrijapau Jan 24, 2025
040d068
fix: Promote to valueerror to get all deprecated code
andrijapau Jan 24, 2025
6760c3e
Revert "fix: Promote to valueerror to get all deprecated code"
andrijapau Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Add remaining xfails
  • Loading branch information
andrijapau committed Jan 14, 2025
commit d717c0e1433663887461ea3d1fefeb305de4b6e3
1 change: 1 addition & 0 deletions tests/ops/functions/test_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ def circuit(theta):

assert np.allclose(matrix, expected_matrix)

@pytest.mark.xfail(reason="https://github.com/PennyLaneAI/catalyst/pull/1452")
@pytest.mark.catalyst
@pytest.mark.external
def test_catalyst(self):
Expand Down
1 change: 1 addition & 0 deletions tests/ops/op_math/test_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ def circ(phi):
grad = jax.grad(circ)(phi)
assert qml.math.allclose(grad, -jnp.sin(phi))

@pytest.mark.xfail(reason="https://github.com/PennyLaneAI/catalyst/pull/1452")
@pytest.mark.catalyst
@pytest.mark.external
def test_catalyst_qnode(self):
Expand Down
2 changes: 2 additions & 0 deletions tests/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ def f(x):
vjp(x, dy)


@pytest.mark.xfail(reason="https://github.com/PennyLaneAI/catalyst/pull/1452")
class TestCatalystSample:
"""Test qml.sample with Catalyst."""

Expand All @@ -884,6 +885,7 @@ def circuit(x):
assert circuit(jnp.pi) == 1


@pytest.mark.xfail(reason="https://github.com/PennyLaneAI/catalyst/pull/1452")
class TestCatalystMCMs:
"""Test dynamic_one_shot with Catalyst."""

Expand Down
1 change: 1 addition & 0 deletions tests/transforms/core/test_transform_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def test_the_transform_container_attributes(self):
assert not container.final_transform


@pytest.mark.xfail(reason="https://github.com/PennyLaneAI/catalyst/pull/1452")
class TestTransformDispatcher: # pylint: disable=too-many-public-methods
"""Test the transform function (validate and dispatch)."""

Expand Down
Loading