BQSKit / bqskit

Berkeley Quantum Synthesis Toolkit
Other
106 stars 31 forks source link

updated radix.py #247

Closed AbdullahKazi500 closed 1 month ago

AbdullahKazi500 commented 1 month ago

in this updated PR implemented the logic for the radixes parameter in the UnitaryMatrix class. ensuring that the constructor accepts either a single radix or a sequence of radices and applies the appropriate logic for calculating radixes fixes #223