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

Disable jsonschema validation by default #688

Merged
merged 2 commits into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion qiskit/providers/aer/backends/aerbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(self, controller, configuration, provider=None):
self._controller = controller

# pylint: disable=arguments-differ
def run(self, qobj, backend_options=None, noise_model=None, validate=True):
def run(self, qobj, backend_options=None, noise_model=None, validate=False):
"""Run a qobj on the backend.

Args:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
upgrade:
- |
For Aer's backend the jsonschema validation of input qobj objects from
terra is now opt-in instead of being enabled by default. If you want
to enable jsonschema validation of qobj set the ``validate`` kwarg on
the :meth:`qiskit.providers.aer.QasmSimualtor.run` method for the backend
object to ``True``.