aboutsummaryrefslogtreecommitdiff
path: root/tester/src/main.rs
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-12-10 23:14:16 +0100
committerhachem <im@hachem.wtf>2025-12-10 23:14:16 +0100
commit548dc42d9f454cb8c29fddb88ca41f8b1b595882 (patch)
treee57aa53884e9ec521da8f6d4ecaf920049acc52b /tester/src/main.rs
parent645846fe8e8ff185f57d5fd70c07c8d8d212bfc3 (diff)
[add]: prelimenary noise layers
Diffstat (limited to 'tester/src/main.rs')
-rw-r--r--tester/src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tester/src/main.rs b/tester/src/main.rs
index 854472c..8a9a41c 100644
--- a/tester/src/main.rs
+++ b/tester/src/main.rs
@@ -3,6 +3,7 @@ mod clifford;
mod common;
mod custom_gates;
mod kernels;
+mod noise;
mod non_clifford;
mod simd;
@@ -25,6 +26,7 @@ fn print_usage() {
println!(" custom Run custom gate tests only");
println!(" kernels Run kernel batching tests only");
println!(" simd Run SIMD acceleration tests only");
+ println!(" noise Run noise channel tests only");
println!(" bench Run benchmark tests only");
println!(" help Show this help message");
println!();
@@ -34,6 +36,7 @@ fn print_usage() {
println!(" tester non-clifford # Run only rotation/parametric gate tests");
println!(" tester kernels # Run only kernel batching tests");
println!(" tester simd # Run only SIMD tests");
+ println!(" tester noise # Run only noise channel tests");
println!(" tester custom bench # Run custom gates and benchmarks");
}
@@ -58,6 +61,7 @@ fn main() {
let run_custom = run_all || args.iter().any(|a| a == "custom");
let run_kernels = run_all || args.iter().any(|a| a == "kernels");
let run_simd = run_all || args.iter().any(|a| a == "simd");
+ let run_noise = run_all || args.iter().any(|a| a == "noise");
let run_bench = run_all || args.iter().any(|a| a == "bench");
if run_clifford {
@@ -80,6 +84,10 @@ fn main() {
simd::run_all(&mut results);
}
+ if run_noise {
+ noise::run_all(&mut results);
+ }
+
if run_bench {
benchmarks::run_all(&mut results);
}