Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
revert removing parens in OrderFinding.qs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guen Prawiroatmodjo committed Nov 25, 2020
1 parent caecf30 commit 33fec18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/algorithms/order-finding/OrderFinding.qs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace Microsoft.Quantum.Samples.OrderFinding {
ApplyToEach(H, topQubits);

for (i in 0..n) {
Controlled ApplyPermutationUsingTransformation(accumulatedPermutation, _)([topQubits[n - i]], LittleEndian(bottomQubits));
Controlled (ApplyPermutationUsingTransformation(accumulatedPermutation, _))([topQubits[n - i]], LittleEndian(bottomQubits));
set accumulatedPermutation = Squared(accumulatedPermutation);
}

Expand Down

0 comments on commit 33fec18

Please sign in to comment.