Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Sep 20, 2023
1 parent 03089f9 commit 64d304c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/accelerate/src/sabre_swap/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl ExtendedSet {
others.iter().map(move |b| dist[[a_index, b.index()]])
})
.sum::<f64>()
/ (2.0 * self.len as f64) // Factor of two is to remove double-counting of each gate.
/ (2.0 * self.len as f64) // Factor of two is to remove double-counting of each gate.
}

/// Clear all nodes from the extended set.
Expand Down

0 comments on commit 64d304c

Please sign in to comment.