Skip to content

Commit

Permalink
style change consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBroughton committed Jan 26, 2021
1 parent 70bf282 commit 8b57ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/simulator_testfixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -902,11 +902,11 @@ void TestApplyControlGateDagger() {
{-0.18774915, 0.12311842},
};

for (unsigned i = 0; i < size; i++) {
for (unsigned i = 0; i < size; ++i) {
state_space.SetAmpl(state, i, final_amplitudes[i][0], final_amplitudes[i][1]);
}

for (int i = gates.size() - 1; i >= 0; i--) {
for (int i = gates.size() - 1; i >= 0; --i) {
ApplyGateDagger(simulator, gates[i], state);
}

Expand Down

0 comments on commit 8b57ee2

Please sign in to comment.