Skip to content

Commit b35dee6

Browse files
committed
clean up doc
1 parent 347d490 commit b35dee6

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

lib/src/QuantumArithmetic/CG20192.qs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ operation ModExpWindow(exponent : Qubit[], ans : Qubit[], base : BigInt, modulus
9090
let expWindows = Arrays.Chunks(expWindowLen, exponent);
9191

9292
// skip the first two expWindows with a direct lookup
93-
// based on Gidney 2025 (https://arxiv.org/abs/2505.15917)
93+
// based on [Gidney 2025](https://arxiv.org/abs/2505.15917)
9494
let skipNum =
9595
if (expWindowLen * 2 < n1) {
9696
expWindowLen * 2
@@ -134,16 +134,8 @@ internal function ModExpData(factor : BigInt, expLength : Int, mulLength : Int,
134134
data
135135
}
136136

137-
/// # Summary
138137
/// Computes zs += ys * (base ^ xs) % mod (for small registers xs and ys)
139-
///
140-
/// # Reference
141-
/// [arXiv:1905.07682, Fig. 5](https://arxiv.org/abs/1905.07682)
142-
///
143-
/// # Remark
144-
/// Unlike in the reference, this implementation uses regular addition
145-
/// instead of modular addition because the target register is encoded
146-
/// using the coset representation.
138+
/// based on Fig. 5 in [Gidney 2019](https://arxiv.org/abs/1905.07682)
147139
internal operation AddExpModWindowed(
148140
base : BigInt,
149141
mod : BigInt,

0 commit comments

Comments
 (0)