Skip to content

Commit 5bbd57b

Browse files
committed
lint
1 parent cbaa5a3 commit 5bbd57b

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

crates/pecos-gpu-sims/src/gpu_stab_multi.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2981,23 +2981,23 @@ mod tests {
29812981
}
29822982
let num_shots = sim.num_shots();
29832983

2984-
let results = sim.run_batched(|s| {
2985-
// Simple circuit: put first qubit in |0> state and measure
2986-
s.mz(&[QubitId(0)])
2987-
});
2984+
let results = sim.run_batched(|s| {
2985+
// Simple circuit: put first qubit in |0> state and measure
2986+
s.mz(&[QubitId(0)])
2987+
});
29882988

2989-
// Should have exactly num_shots results
2990-
assert_eq!(
2991-
results.len(),
2992-
num_shots,
2993-
"Should have results for all shots"
2994-
);
2989+
// Should have exactly num_shots results
2990+
assert_eq!(
2991+
results.len(),
2992+
num_shots,
2993+
"Should have results for all shots"
2994+
);
29952995

2996-
// All should measure 0 (qubit starts in |0>)
2997-
for result in &results {
2998-
assert_eq!(result.len(), 1);
2999-
assert!(!result[0], "Qubit in |0> should measure 0");
3000-
}
2996+
// All should measure 0 (qubit starts in |0>)
2997+
for result in &results {
2998+
assert_eq!(result.len(), 1);
2999+
assert!(!result[0], "Qubit in |0> should measure 0");
3000+
}
30013001
});
30023002
if result.is_err() {
30033003
eprintln!("test_run_batched_multiple_batches: skipped (GPU OOM or no driver)");

0 commit comments

Comments
 (0)