| Crates.io | cpx-coords |
| lib.rs | cpx-coords |
| version | 0.1.5 |
| created_at | 2025-04-24 00:52:54.670293+00 |
| updated_at | 2025-11-05 09:22:03.354461+00 |
| description | To power the rust-quantum project, this library provides a robust `Cpx` type, specifically optimized for the intensive complex number multiplications required for quantum gate applications and tensor product operations. It supports various coordinate representations to maximize performance. |
| homepage | |
| repository | https://github.com/enjuichang123/cpx-coords.git |
| max_upload_size | |
| id | 1646465 |
| size | 195,613 |
To power the rust-quantum project, this library provides a robust Cpx type, specifically optimized for the intensive complex number multiplications required for quantum gate applications and tensor product operations. It supports various coordinate representations to maximize performance.
Add the following to your Cargo.toml (to the latest version):
[dependencies]
cpx-coords = "0.1.5"
A complex-number analog of IEEE standard of floating numbers is designing. Consider there is one sign bit, a few exp bits, and a few significant bits for a real floating number. We want to interpret the sign bit as a special case of phase bits, while the remaining exp bits and significant bits describe the radius. In this interpretation, we may save a few bits for a complex number in polar coordinate.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be licensed as above, without any additional terms or conditions.