quantumlib / unitary

API library providing common operations for adding quantum behaviors to games.
Apache License 2.0
31 stars 26 forks source link

Implement phase rotation gate for Qudits #193

Closed lanafs closed 3 months ago

lanafs commented 4 months ago

Using the notation found in https://arxiv.org/pdf/2008.00959, the Z qudit gate rotates a given basis state by angle theta, while leaving the rest of the state unchanged.