Skip to content

Commit

Permalink
Change square-accumulate gate symbols from -=/+= to -/+
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Aug 15, 2017
1 parent 8f4547d commit 47cee2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gates/MultiplyAccumulateGates.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ MultiplyAccumulateGates.MultiplySubtractInputsFamily = Gate.buildFamily(1, 16, (

MultiplyAccumulateGates.SquareAddInputFamily = Gate.buildFamily(1, 16, (span, builder) => builder.
setSerializedId("+=AA" + span).
setSymbol("+=A^2").
setSymbol("+A^2").
setTitle("Square-Add Gate [Input A]").
setBlurb("Adds the square of input A into the qubits covered by this gate.").
setRequiredContextKeys('Input Range A').
Expand All @@ -136,7 +136,7 @@ MultiplyAccumulateGates.SquareAddInputFamily = Gate.buildFamily(1, 16, (span, bu

MultiplyAccumulateGates.SquareSubtractInputFamily = Gate.buildFamily(1, 16, (span, builder) => builder.
setSerializedId("-=AA" + span).
setSymbol("-=A^2").
setSymbol("-A^2").
setTitle("Square-Subtract Gate [Input A]").
setBlurb("Subtracts the square of input A out of the qubits covered by this gate.").
setRequiredContextKeys('Input Range A').
Expand Down

0 comments on commit 47cee2a

Please sign in to comment.