Skip to content

Commit

Permalink
Bump version to 2.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
karalekas committed Jan 10, 2020
1 parent 236e85c commit 15bca0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Changelog
=========

[v2.16](https://github.com/rigetti/pyquil/compare/v2.15.0...master) (in development)
------------------------------------------------------------------------------------
[v2.16](https://github.com/rigetti/pyquil/compare/v2.15.0...master) (January 10, 2020)
--------------------------------------------------------------------------------------

### Announcements

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.15.0
2.16.0
6 changes: 2 additions & 4 deletions pyquil/experiment/_setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,7 @@ def __init__(
):
# For backwards compatibility, handle in_state specified by PauliTerm.
if isinstance(in_state, PauliTerm):
warnings.warn(
"Please specify in_state as a TensorProductState", DeprecationWarning, stacklevel=2
)
warnings.warn("Please specify in_state as a TensorProductState", DeprecationWarning)
in_state = _pauli_to_product_state(in_state)
object.__setattr__(self, "in_state", in_state)
object.__setattr__(self, "out_operator", out_operator)
Expand All @@ -217,7 +215,7 @@ def __init__(
@property
def in_operator(self) -> PauliTerm:
warnings.warn(
"ExperimentSetting.in_operator is deprecated in favor of in_state", stacklevel=2
"ExperimentSetting.in_operator is deprecated in favor of in_state", DeprecationWarning
)

# Backwards compat
Expand Down

0 comments on commit 15bca0f

Please sign in to comment.