Skip to content

Conversation

@NoureldinYosri
Copy link
Contributor

@NoureldinYosri NoureldinYosri commented Oct 29, 2025

The Rotation-Synthesis subpackage implements the state of the art rotation synthesis protocols for compiling $SU(2)$ unitaries into clifford+T gates. The current PR has the code for synthesis Z-rotations and I will send another PR for arbitrary axis rotations.

Please refer to qualtran/rotation_synthesis/README.md for usage examples.

@mpharrigan
Copy link
Collaborator

what's the deal with the requirements file? do you need to add mpmath?

@NoureldinYosri
Copy link
Contributor Author

NoureldinYosri commented Oct 29, 2025

@mpharrigan I thought I did but Qualtran already depends on mpmath transitively through sympy

@mpharrigan
Copy link
Collaborator

can you go ahead and add it to runtime.txt since we import it directly. Don't bother with the pip-compile step if it won't change anything but the comments -- it will get picked up the next time that gets bumped

@NoureldinYosri
Copy link
Contributor Author

@mpharrigan done

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed offline

@NoureldinYosri NoureldinYosri merged commit 8512deb into quantumlib:main Oct 29, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants