Skip to content

Commit f46cbdf

Browse files
🎨 pre-commit fixes
1 parent 1436938 commit f46cbdf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/algorithms/StatePreparation.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ gatesToUncompute(std::vector<std::complex<double>>& amplitudes,
221221
for (auto& target : op->getTargets()) {
222222
target += static_cast<unsigned int>(i);
223223
}
224-
for (auto& control: op->getControls()) {
224+
for (auto& control : op->getControls()) {
225225
control.qubit += static_cast<Qubit>(i);
226226
}
227227
}
@@ -239,9 +239,9 @@ gatesToUncompute(std::vector<std::complex<double>>& amplitudes,
239239
for (auto& target : op->getTargets()) {
240240
target += static_cast<unsigned int>(i);
241241
}
242-
for (auto& control: op->getControls()) {
243-
control.qubit += static_cast<Qubit>(i);
244-
}
242+
for (auto& control : op->getControls()) {
243+
control.qubit += static_cast<Qubit>(i);
244+
}
245245
}
246246
disentangler.emplace_back<Operation>(ryMultiplexer.asOperation());
247247
}

0 commit comments

Comments
 (0)