Skip to content

Commit 01c8b83

Browse files
authored
Change operation description from addition to multiplication
1 parent 4eba983 commit 01c8b83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/QuantumArithmetic/MCT2017.qs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ operation CtrlAdd(Ctrl : Qubit, A : Qubit[], B : Qubit[], Z0 : Qubit, Z1 : Qubit
4444
}
4545
}
4646

47-
/// Computes C:=A+B.
47+
/// Computes C:=A*B.
4848
/// Supports inputs of different sizes.
4949
operation Multiply(A : Qubit[], B : Qubit[], C : Qubit[]) : Unit is Adj + Ctl {
5050
let n1 = Length(A);
@@ -64,4 +64,4 @@ operation Multiply(A : Qubit[], B : Qubit[], C : Qubit[]) : Unit is Adj + Ctl {
6464
}
6565

6666

67-
export Multiply;
67+
export Multiply;

0 commit comments

Comments
 (0)