Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable jsonschema validation by default (Qiskit#688)
Currently the aer backends are running jsonschema validation on the Qobj objects passed in via terra by default. This is unecessary overhead as terra is programatically creating these objects and they're extremely unlikely to be structurally invalid (which is all jsonschema will catch). Even, if it was this will be caught later when something goes to use it and the error message from that is more likely to be useful since the way the json schemas are constructed precludes useful error message. This commit changes the default value of this to be opt-in on the run() method to avoid this unecessary overhead. Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com>
- Loading branch information