Skip to content

Commit

Permalink
Update shifting_field.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeCoull authored Apr 8, 2024
1 parent bdd9a44 commit 1782ba4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/braket/ir/ahs/shifting_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.

from warnings import deprecated
from braket.ir.ahs.local_detuning import LocalDetuning

# The class `ShiftingField` is deprecated. Please use `LocalDetuning` instead.
# This file and class will be removed in a future version.
# We are retaining this now to avoid breaking backwards compatibility for users already
# utilizing this nomenclature.
@deprecated("The class `ShiftingField` is deprecated. Please use `LocalDetuning` instead.")
ShiftingField = LocalDetuning

0 comments on commit 1782ba4

Please sign in to comment.