-
Notifications
You must be signed in to change notification settings - Fork 365
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
Remove aqua from benchmark #1189
base: main
Are you sure you want to change the base?
Conversation
5d87bd7
to
fdb25e0
Compare
I would say lets keep the benchmarks in place as is until qiskit-nature is released, aqua will continue to work for several months as is, and we can replace the benchmarks at some point after the release with a qiskit-nature based versions (and just bump the version of the benchmark then). That way we don't lose any coverage, especially right up until the release. |
@mtreinish OK. Please let me leave this as a placeholder for future change after qiskit-nature is released. |
2c249cb
to
9cff2dc
Compare
9cff2dc
to
e6b9940
Compare
06621a3
to
aa87fdb
Compare
https://hhorii.github.io/qiskit-aer/html/#/ @mtreinish qiskit_nature was released and now it is good timing to work this again. |
5c8c12c
to
6544b00
Compare
6544b00
to
a27314e
Compare
d6eb2ee
to
9e66f3d
Compare
Previous benchmarks tracked only C++ implementation. However, in recent releases, functions in Python were increased to transpile, assemble, and support control-flow. With this change, benchmarks additionally track python implementation.
9e66f3d
to
03999bd
Compare
2e20fb0
to
3c4f77d
Compare
3c4f77d
to
43a1b20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, just a few small inline questions/comments but otherwise I'm fine with this.
|
||
// The number of characters to retain in the commit hashes. | ||
// "hash_length": 8, | ||
|
||
// `asv` will cache results of the recent builds in each | ||
// environment, making them faster to install next time. This is | ||
// the number of builds to keep, per environment. | ||
// "build_cache_size": 2, | ||
"build_cache_size": 100000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh, that's a lot of builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch :-)
@@ -33,27 +33,19 @@ | |||
"install_command": [ | |||
"python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit', True)\"", | |||
"python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit_aer.egg-info', True)\"", | |||
"pip install git+https://github.com/Qiskit/qiskit-terra", | |||
"pip install git+https://github.com/Qiskit/qiskit-aqua", | |||
"pip install -U qiskit-terra", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we want to use matrix
here to list qiskit-terra at a specific version so the benchmark results are tied to the qiskit-terra version (so if we bump the terra version in the matrix it shows as different from earlier runs).
try: | ||
from qiskit.providers.aer import AerSimulator | ||
self._simulator = AerSimulator() | ||
except ImportError: | ||
from qiskit.providers.aer import QasmSimulator | ||
self._simulator = QasmSimulator() | ||
return self._simulator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you still supporting comparisons from the releases prior to AerSimulator
?
self._simulator = None | ||
self.qubits = qubits | ||
self.params = (qubits) | ||
self.param_names = ["qubits"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.param_names = ["qubits"] | |
self.param_names = ["Number of qubits"] |
Summary
This PR removes aqua from benchmark in test
Details and comments
Aqua is now being refactored and VQE and UCCSD will be in qiskit-nature.
However, their new versions are under development.
Until they are released, benchmarks do not include VQE applications.