-
Notifications
You must be signed in to change notification settings - Fork 360
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
Support u3 gate application in Aer runtime API #1876
Support u3 gate application in Aer runtime API #1876
Conversation
e24246f
to
8712e5c
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.
Could you add a release note, like "aer_apply_u3
is added to aer_runtime_api.h
"?
…izaka/qiskit-aer into rwakizaka-support_u3_runtime_api
Added a release note. I also applied clang-format to |
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.
LGTM.
* Support u3 gate application * Apply clang-format * Revert clang-format for aer_runtime_api.h * Add release note --------- Co-authored-by: Hiroshi Horii <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Support u3 gate application * Apply clang-format * Revert clang-format for aer_runtime_api.h * Add release note --------- Co-authored-by: Hiroshi Horii <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* adding executor classes for parallel simulations * fix merge conflicts * simplify sub-classes * fix unformatted code * fix unformatted code again * Fix MPI code * Fix shot-branching was not enabled with noise sampling * Fix clang format * set_num_qubits to virtual function to set correct num qubits on matrix * reflecting review comments * reuse of random number generator * recover save_data_per_shot * add missed omp threads setting in statevector, change class hieralchy * Fix performance issue of GPU shot-branching * move fusion outside of loop for non noise dynamic circuits * fix shot-branching options in aer_compiler.py * save codes before merge * Fix format * Fix multi-chunk with cuStateVec * format * format * add better multi-GPU distribution for shot-branching * fix format * Changed option shot_branching_enable=False by default, add shot_branching_sampling_enable (False by default), add test cases for shot-branching * format * format test_shot_branching.py * Changed OpenMP threading for shot-branching * mutable to matrix and param buffer * format * add target_gpus option * Remove Python 3.7 from Github actions (#1819) Since 0.13.0, Aer does not support Python 3.7. This commit removes github actions for CI. * Removing python 3.7 from test workflow * Removing python 3.7 from build workflow * Removing python 3.7 from deploy workflow * Removing python 3.7 from tox * revert * Remove python 3.7 from pyproject.toml * Remove python 3.7 from pyproject.toml - tool --------- Co-authored-by: Hiroshi Horii <[email protected]> * Fix missing dynamic link path for CUDA runtime and cuQuantum libraries (#1877) Co-authored-by: Hiroshi Horii <[email protected]> * Fix OpenMP nested parallel (#1880) * Fix OpenMP nested parallel * add comment in release note * fix true and false * fix format --------- Co-authored-by: Hiroshi Horii <[email protected]> * Support u3 gate application in Aer runtime API (#1876) * Support u3 gate application * Apply clang-format * Revert clang-format for aer_runtime_api.h * Add release note --------- Co-authored-by: Hiroshi Horii <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Fix required_memory_mb (#1881) * Fix required_memory_mb * add release note --------- Co-authored-by: Hiroshi Horii <[email protected]> * format * format * format * comment out target_gpu setting for non-GPU * comment out target_gpu setting for non-GPU * Remove `PulseSimulator` (#1884) Since 0.12, Qiskit-Aer notices deprecation warnings to use of PulseSimulato. Because 0.13 will be released after +3 months since 0.12 was released, Qiskit-Aer will stop supports of pulse simulation. * first pass at removing pulse simulator * autoformat with black * remove ref to aer pulse in docs * fix lint issues * remove pulse rst * remove pulse tests * add release note * remove open pulse from CMakeLists.txt * remove pulse tests * remove remaining pulse codes --------- Co-authored-by: AngeloDanducci <[email protected]> * Fix an issue in `aer_state_initialize()` of C API (#1885) Correct C API `aer_state_initialize` to take an argument of `handler`. * update aer_state_initialize API * add reno * fix MPI shot-branching sampling * fix unmerged file * remove conflict * rerun tests * recover files * remove conflict * fix non-gpu * update release note --------- Co-authored-by: Tung Bui (Leo) <[email protected]> Co-authored-by: Hiroshi Horii <[email protected]> Co-authored-by: Ryo Wakizaka <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: AngeloDanducci <[email protected]>
Summary
Add a support for u3 gate to the runtime API of aer.
Details and comments
Currently the API does not support the u3 gate even though an aer state supports it.
I add a support to apply u3 gate by just calling
AerState::apply_u
.