qiskit/test/python/synthesis
Shelly Garion 02850cfa95
Add 2q fractional gates to the `UnitarySynthesis` transpiler pass (#13568)
* TwoQubitControlledUDecomposer to _decomposer_2q_from_basis_gates

* update (temporarily) basis gates in test

* minor fix

* add EulerBasis as a parameter to TwoQubitControlledUDecomposer

* fix global_phase calculation in TwoQubitContolledUDecomposer

* add TwoQubitControlledUDecomposer to the docs

* make the choice of kak_gate deterministic

* remove XXDecomposer from _decomposer_2q_from_basis_gates

* make call_inner pub, add Clone, Debug

* add TwoQubitControlledUDecomposer to unitary_synthesis.rs

* Fix exit condition for GOODBYE_SET and PARAM_SET

* make DEFAULT_ATOL public

* add TwoQubitControlledUDecomposer to synth_su4_sequence

* Add support for parametrized decomposer gate in apply_synth_sequence

* change DecomposerType enum to fix clippy error

* add a random unitary test to test_parametrized_basis_gate_in_target

* add public new_inner for TwoQubitControlledUDecomposer

* replace default 'ZYZ' by 'ZXZ' in TwoQubitControlledUDecomposer

* remove using py in rust functions

* minor update to test

* make atol optional

* add a test with fractional gates in the backend

* add release notes

* enhance tests following review

* Add support for non-standard parametrized gates, add new tests. TODO: address TwoQubitControlledUDecomposer issue, it appends gates outside of basis set (h/s/sdg)

* decompose S, Sdg, H into euler_basis

* update test

* Overwrite Python-side gate parameters as well as Rust-side parameters.

* add examples to release notes

---------

Co-authored-by: Elena Peña Tapia <epenatap@gmail.com>
2025-02-10 10:40:18 +00:00
..
aqc Remove consider-using-f-string lint rule and updates (#12423) 2024-06-19 07:05:56 +00:00
xx_decompose Remove duplicated weyl_coordinates python function (#13193) 2024-10-15 14:25:05 +00:00
__init__.py Improve LinearFunction synthesis (#8568) 2022-11-03 14:09:46 +00:00
test_clifford_decompose_layers.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
test_clifford_sythesis.py Port `synth_clifford_bm` to Rust. (#12714) 2024-07-21 08:50:01 +00:00
test_cnot_phase_synthesis.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_cx_cz_synthesis.py binary matrices utils in rust (#12456) 2024-06-28 20:18:17 +00:00
test_cz_synthesis.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
test_linear_synthesis.py Oxidize `synth_cnot_count_full_pmh` (#12588) 2024-07-04 11:49:35 +00:00
test_local_invariance.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_permutation_synthesis.py Follow up on #12327: circuit construction in Rust (#12605) 2024-06-24 08:02:31 +00:00
test_qft_synthesis.py Adding QFT gate to natively reason about Quantum Fourier Transforms (#11463) 2024-07-10 08:27:55 +00:00
test_stabilizer_circuit.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_stabilizer_synthesis.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
test_synthesis.py Add 2q fractional gates to the `UnitarySynthesis` transpiler pass (#13568) 2025-02-10 10:40:18 +00:00
test_weyl.py Remove duplicated weyl_coordinates python function (#13193) 2024-10-15 14:25:05 +00:00