-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update and migrate Qiskit Terra fake backends #26
Comments
I am interested in working on the second part of this project. |
Thanks for your interest for the project, Farai! I have selected another mentee for the project. Hope you can find another mentor! |
@MozammilQ Can you please comment on this issue so that I can assign you? Thanks! |
@HuangJunye , I am here :) |
The way we have FakeBackends like FakeSherbrooke, FakeManila, FakeJakarta, etc, something called FakeGeneric will be made, why so? That is because when we want to test some Terra functionality which needs a backend, we have to arbitrarily use a backend which suits our need, the very first limitation of using the snapshots of the real IBM backends is that we need to know certain specifications of the backend like number of qubits, basis gates, pulse support, etc beforehand, and then we decide which backend to import in. Now, in a FakeGeneric backend we can pass in the needs for example number of qubits, basis gates, supports dynamic etc and the FakeBackend will return a BackendV2 object, this backend will NOT be a snapshot of the original IBM Backend but it will contain the properties of the backend that suits the need of the test and backend itself is created only for that specific purpose. Idea: See, the key is to understand the implementation of the BackendV2, post this, just make your own backend which will be the subclass of the BacekndV2 most of the functionalities will be available in the new backend, one just has to tweak it according to their needs. Bonus learning outcome for the reader: Here is a screenshot of my current progress: One can checkout the code of FakeGeneric here: |
Description
This project proposal aims to address Qiskit/qiskit#9553.
Qiskit Terra has a fake provider module that contains a number of fake backends with device properties snapshots of IBM Quantum Systems. These fake backends primarily have two purposes (quoted from Qiskit/qiskit#9553):
We plan to address this issue in the following steps:
Deliverables
Each of the step of the plan will involve one or multiple pull requests to the relevant github repos (
qiskit-terra
andqiskit-ibm-provider
. The PRs will contain documentation content (api reference, how-to guides, etc.) as well as code changes.Mentors details
Number of mentees
21Type of mentees
This project can be split into two parts. One mentee can work on step 1 for updating fake backends and another mentee can work on step 2 migrating fake backends to qiskit-ibm-provider. These two projects can be done relatively independently. I think step 1 is a bit easier to do than step 2 so it's more friendly for beginners.We ended up choosing only one mentee due to time zone constrains.- Mentee 2- Required:- Familiar with Python development- Nice to have:- Experience in contributing to QiskitThe text was updated successfully, but these errors were encountered: