tequilahub / tequila

A High-Level Abstraction Framework for Quantum Algorithms
MIT License
362 stars 101 forks source link

Add Givens Methods #343

Closed DeadlyArtist closed 4 months ago

DeadlyArtist commented 5 months ago

Add givens methods to extract givens rotations from a unitary, and turn them into a circuit for a molecule (self). Documentation and tests were added.

If allowed, I will move the OPTIMIZED_ORDERING, givens_matrix, get_givens_decomposition and reconstruct_matrix_from_givens into a new file (e.g. tools.givens_functions)