Skip to content

Commit

Permalink
Suppress QubitStateVector deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2812 committed Sep 30, 2024
1 parent 3f743b4 commit ea28c40
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/aqt-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/cirq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/ionq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/qiskit-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/qulacs-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/rigetti-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion workflow-template-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ jobs:
run: |
python -m pytest plugin_repo/{{ tests_loc }} --tb=short {%- for kwarg in test_kwargs %} {{ kwarg }}{%- endfor %}{% if no_deprecation_error %}{% else %} \
-W "error::pennylane.PennyLaneDeprecationWarning"{% endif %}{% if latest or no_deprecation_error %}{% else %} \
-W "ignore:QubitDevice:pennylane.PennyLaneDeprecationWarning"{% endif %}
-W "ignore:QubitDevice:pennylane.PennyLaneDeprecationWarning" \
-W "ignore:QubitStateVector:pennylane.PennyLaneDeprecationWarning"{% endif %}

0 comments on commit ea28c40

Please sign in to comment.