Renmusxd / RustQIP

Quantum computing using rust. Efficient and a borrow-checked no cloning theorem!
https://docs.rs/qip/
MIT License
227 stars 18 forks source link

Find and fix custom implementations of stdlib functions. #1

Open Renmusxd opened 4 years ago

Renmusxd commented 4 years ago

There are probably several places where custom implementations of algorithms are provided where stdlib versions exists. An example would be checking if a supplied u64 has only a single bit set, this could be done using is_power_of_two.