Skip to content

Commit 247cf45

Browse files
🎨 pre-commit fixes
1 parent bacf6ba commit 247cf45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/StatePreparation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ gatesToUncompute(std::vector<std::complex<double>>& amplitudes,
260260
}
261261
// adjust global phase according to the last e^(it)
262262
double const arg = std::arg(std::accumulate(
263-
amplitudes.begin(), amplitudes.end(), std::complex<double>(0, 0)));
263+
amplitudes.begin(), amplitudes.end(), std::complex<double>(0, 0)));
264264
if (std::abs(arg) > eps) {
265265
disentangler.gphase(arg);
266266
}

0 commit comments

Comments
 (0)