qiskit
qiskit copied to clipboard
create_fake_backend: tool for creating fake backend files and settings
This script creates the file for setting a new fake backend, including inserting the lines around and the release note.
python ./tools/create_fake_backend.py --hub <redacted> oslo ibm_oslo
python ./tools/update_fake_backends.py --hub <redacted> ibm_oslo
Thank you for opening a new pull request.
Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.
While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.
One or more of the the following people are requested to review this:
- @Qiskit/terra-core
Pull Request Test Coverage Report for Build 3083784995
- 0 of 0 changed or added relevant lines in 0 files are covered.
- 40 unchanged lines in 8 files lost coverage.
- Overall coverage decreased (-0.006%) to 84.394%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| qiskit/compiler/transpiler.py | 1 | 89.71% |
| qiskit/providers/fake_provider/fake_provider.py | 1 | 70.91% |
| qiskit/transpiler/passes/synthesis/unitary_synthesis.py | 1 | 93.33% |
| qiskit/extensions/quantum_initializer/squ.py | 2 | 79.78% |
| qiskit/utils/optionals.py | 2 | 94.74% |
| qiskit/circuit/init.py | 5 | 83.33% |
| qiskit/circuit/library/phase_oracle.py | 5 | 84.85% |
| qiskit/visualization/circuit/_utils.py | 23 | 93.52% |
| <!-- | Total: | 40 |
| Totals | |
|---|---|
| Change from base Build 3064945915: | -0.006% |
| Covered Lines: | 59259 |
| Relevant Lines: | 70217 |
💛 - Coveralls
One last thing. Can you also add documentation of how to run the script in the same file?
This probably should be in the provider, once https://github.com/Qiskit/qiskit-terra/issues/9553 gets addressed .
With moving the IBM's fake providers to qiskit-ibm-runtime, moving this PR there https://github.com/Qiskit/qiskit-ibm-runtime/pull/1263