Renmusxd / RustQIP

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

Find comprehensive list of features needed for a 1.0 release #6

Open Renmusxd opened 4 years ago

Renmusxd commented 4 years ago

What features should be in place before we consider a 1.0 release?

Renmusxd commented 3 years ago

There definitely need to be a number of Quality of Life improvements. Many of the APIs are bulky and not idiomatic rust.

Renmusxd commented 3 years ago

A lot of the oddities come from the UnitaryBuilder trait not allowing generics (because many of the functions take &mut dyn UnitaryBuilder, undoing all the dyns could be quite an undertaking since it would make it harder to make ops which hold Boxed functions (or those boxed functions wouldn't be able to in turn call the unitary builder for certain tasks). There's likely a more elegant way to rewrite this worth thinking about.