mpqp
mpqp copied to clipboard
Feat unitary decomposition
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).