Skip to content

Commit

Permalink
Remove deprecated get_unitary_matrix (#2457)
Browse files Browse the repository at this point in the history
* Remove

* Changelog

* changelog: breaking change

* Trigger CI

Co-authored-by: Antal Szava <antalszava@gmail.com>
  • Loading branch information
rmoyard and antalszava committed Apr 19, 2022
1 parent c5c8ed7 commit 822da84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 739 deletions.
4 changes: 4 additions & 0 deletions doc/releases/changelog-dev.md
Expand Up @@ -398,6 +398,10 @@

<h3>Breaking changes</h3>

* The `get_unitary_matrix` transform has been removed, users should use
`qml.matrix` instead.
[(#2457)](https://github.com/PennyLaneAI/pennylane/pull/2457)

* The caching ability of `QubitDevice` has been removed, using the caching on
the QNode level is the recommended alternative going forward.
[(#2443)](https://github.com/PennyLaneAI/pennylane/pull/2443)
Expand Down
2 changes: 0 additions & 2 deletions pennylane/transforms/__init__.py
Expand Up @@ -32,7 +32,6 @@
~transforms.classical_jacobian
~batch_params
~batch_input
~transforms.get_unitary_matrix
~metric_tensor
~adjoint_metric_tensor
~specs
Expand Down Expand Up @@ -206,7 +205,6 @@
from .specs import specs
from .qmc import apply_controlled_Q, quantum_monte_carlo
from .unitary_to_rot import unitary_to_rot
from .get_unitary_matrix import get_unitary_matrix
from .commutation_dag import (
commutation_dag,
is_commuting,
Expand Down
164 changes: 0 additions & 164 deletions pennylane/transforms/get_unitary_matrix.py

This file was deleted.

0 comments on commit 822da84

Please sign in to comment.