boschmitt / tweedledum

C++17 Library for analysis, compilation/synthesis, and optimization of quantum circuits
MIT License
98 stars 36 forks source link

Make Euler angles publicly accessible for U operator #182

Open ausbin opened 1 year ago

ausbin commented 1 year ago

Description

Not too exciting, just surface the Euler angles for the U operator for library users. This useful if you are transpiling Tweedledum circuit IR to another IR

Let me know if I should add a test for this (I wasn't sure how to shoehorn this into rotation_angle())