You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trapped ion decomposer setup and rotation gates improvement (#346)
* reduced Ry decomposition : modification of restrictedgateset setup to include compiler chooser, extension of available decompositions, new setup based on restrictedgateset but adapted for trapped ion configurations
* Addition of test file for the rz2rx decomposition
Addition of test file for the rz2rx decomposition and edit to comments in the rz2rx file
* Revert "Addition of test file for the rz2rx decomposition"
This reverts commit 5aab56b.
* Create rz2rx_test file
Addition of test file for the rz2rx decomposition
* Update rz2rx.py
Update to comments
* Update rz2rx_test.py
Update to comments
* Minor update: remove accidental file
* Minor update rz2rx.py
Corrected an angle.
* Minor update rz2rx_test.py
Edited comments.
* Create h2rx_test.py
Updated method for test_decomposition which tests that decomposition produces identical wave-state up to a global phase.
* Improvement of the decomposition chooser; Note that basic restricted gate
set will fail decomposing into Rxx because of the default chooser
* Updates to h2rx and cnot2rxx
* Create cnot2rxx_test.py
Testing file for cnot2rxx decomposition. Includes updated method for test_decomposition which tests that decomposition produces identical wave-state up to a global phase.
* basic rotation gates at an angle of 0 or 2pi are removed by the optimizer.
basic rotation gates ignore now the global phase and are defined over 0:2pi
* Update and create trapped_ion_decomposer_test.py
* Minor update
Documentation and comments.
* Update on comments regarding Identity gates
* Changes 1/2 : command can be printed with unicode symbols only via new
to_String method; syntax correction;
* Work in progress, is commutable
* Update to decomposition test files
rz2rx_test now tests each decomposition defined in rz2rx.all_defined_decomposition_rules
Similar for cnot2rxx_test and h2rx_test
* Revert "Work in progress, is commutable"
This reverts commit 27f820c.
* minor fixes; revert rotation gates to [0;4pi)
* fix comments
* Fix a few issues with the trapped-ion setup
- Store the sign of the last Ry gate on an engine-by-engine basis
- Cleanup of some remaining print statements
- Some stylistic issues fixed
* Mostly fixing stylistic issues and some code cleanup
* h2rx decomposition with correct global phase
* cnot2rxx decomposition with correct global phase
* Fix non-ASCII character in cnot2rxx.py
* Fix some more files for non-ASCII characters
* Specify encoding for files with non-ASCII characters
* Fix test errors
* Fix tests for Python 2.7
* Complete code coverage for trapped-ion setup
Co-authored-by: Nguyen Damien <[email protected]>
0 commit comments