From 548dc42d9f454cb8c29fddb88ca41f8b1b595882 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 10 Dec 2025 23:14:16 +0100 Subject: [add]: prelimenary noise layers --- tester/src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tester/src/main.rs') 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); } -- cgit v1.3