-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Rename BasicAer as a test provider #4443
Comments
I think there is some value in keeping I dont feel super strong about this, but just my two cents. |
I agree with removing for a separate reason: I think the main reason for it existing was due to C++ build issues with early version of Qiskit Aer, which are a lot better now. If we do decide to keep BasicAer, we should only keep the QasmSimulator and remove the Unitary and Statevector simulators since as mentioned they provide nothing over the The |
I agree it is time for basis aer to go as aer works and the quant-info should replace it |
The one advantage BasicAer has, is that you can run circuits containing Barrier/Measure/Reset instructions. If we'll run algorithms from Aqua on quantum_info, we'll have to work around some of these (mostly to replace BasicAer's QASM simulator). Alternatively, we could require Aer to be installed for any QASM simulations, but "Terra, batteries included" for both statevector and QASM seems nicer to me too. |
I think it still provides value. Primarily it lets us exercise the entire execution path inside of terra itself. Personally it's been very useful for me as I've been implementing the v2 provider interface to be able to test using it directly in terra itself. It also serves as a decent example for implementing local simulator based providers because Aer is much more complicated. There are also platforms where Aer still doesn't run that it is actively used (thinking mainly about ibm i per: #3362 and #3183 and my subsequent conversations with them). I think we should promote the use of |
Going back to this old issue: I suggest renaming the |
Following up on an offline discussion with the team, the consensus was that BasicAer is still useful in some cases (chiefly test/CI environments), and doesn't require much in terms of ongoing maintenance or development, so the best outcome would be relocating and/or renaming it to something like |
Hello. If this is still needed where BasicAer relocating/renaming it to something like TestProvider. if so, I would love to be assigned to this to take this on. Thanks! |
Hi @uchoi91 |
sounds good. thanks @1ucian0 |
After talking with @blakejohnson, we agreed to rename it |
BasicAer is not needed anymore now that the
quantum_info
module can be used to simulate circuits.quantum_info
has a more flexible workflow as you are not tied to the job/result interface and is nice for small circuit calculations. It is also faster as it bypasses serialization.Operator(qc)
(unitary) orzero.evolve(qc)
(statevector) orzero.evolve(qc).probabilities_dict()
(counts)The only thing that BasicAer supports in addition to
quantum_info
is conditional operations I think, but I think that can be added too?The text was updated successfully, but these errors were encountered: