| Crates.io | logosq-noise-modeler |
| lib.rs | logosq-noise-modeler |
| version | 0.1.0 |
| created_at | 2026-01-20 20:21:20.670484+00 |
| updated_at | 2026-01-20 20:21:20.670484+00 |
| description | Quantum noise modeling and simulation for LogosQ |
| homepage | |
| repository | https://github.com/WeaveITMeta/LogosQ-Noise-Modeler |
| max_upload_size | |
| id | 2057483 |
| size | 107,822 |
A Rust crate for simulating realistic quantum processing unit (QPU) noise for NISQ-era quantum circuit simulations.
use logosq_noise_modeler::{DepolarizingChannel, NoiseChannel, StateVector};
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a depolarizing channel with 1% error probability
let channel = DepolarizingChannel::new(0.01)?;
// Apply to a quantum state
let mut state = StateVector::zero_state(2);
channel.apply(&mut state, 0)?;
Ok(())
}
[dependencies]
logosq-noise-modeler = "0.1"
MIT OR Apache-2.0