mpqp icon indicating copy to clipboard operation
mpqp copied to clipboard

Feat unitary decomposition

Open MathieuG-Colibri opened this issue 9 months ago • 0 comments

Feature : Decomposition of any unitary matrices using quantum Shannon decomposition.

Fix : The global phase is now taken into account with the to_matrix() method (test added) and controlled gate cannot have the same control/target qubit(s) in case of a negative index (test also added).

MathieuG-Colibri avatar Apr 15 '25 13:04 MathieuG-Colibri