qiskit icon indicating copy to clipboard operation
qiskit copied to clipboard

create_fake_backend: tool for creating fake backend files and settings

Open 1ucian0 opened this issue 3 years ago • 2 comments

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

1ucian0 avatar Aug 06 '22 22:08 1ucian0

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

qiskit-bot avatar Aug 06 '22 22:08 qiskit-bot

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 Coverage Status
Change from base Build 3064945915: -0.006%
Covered Lines: 59259
Relevant Lines: 70217

💛 - Coveralls

coveralls avatar Aug 06 '22 22:08 coveralls

One last thing. Can you also add documentation of how to run the script in the same file?

HuangJunye avatar Nov 24 '22 11:11 HuangJunye

This probably should be in the provider, once https://github.com/Qiskit/qiskit-terra/issues/9553 gets addressed .

1ucian0 avatar Jun 27 '23 12:06 1ucian0

With moving the IBM's fake providers to qiskit-ibm-runtime, moving this PR there https://github.com/Qiskit/qiskit-ibm-runtime/pull/1263

1ucian0 avatar Dec 06 '23 12:12 1ucian0