Skip to content

Commit

Permalink
add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
dberthault committed Nov 25, 2024
1 parent 16b9dad commit 9637110
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roqoqo/tests/integration/quantum_program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ fn test_parallel() {
now = Instant::now();
let result = program.run_parallel(backend, &vec![vec![0.0, 1.0]; number_parameter_set]);
let multiple_parameter_set_time = now.elapsed();

println!(
"single:{}\nmultiple:{}",
one_parameter_set_time.as_nanos(),
multiple_parameter_set_time.as_nanos()
);
assert!(result.is_ok());
assert!(multiple_parameter_set_time * 2 < one_parameter_set_time * number_parameter_set as u32);

Expand Down

0 comments on commit 9637110

Please sign in to comment.