Skip to content

Commit ab42a64

Browse files
committed
Removed trailing whitespace
Signed-off-by: Vlad Gheorghiu <[email protected]>
1 parent 3f10448 commit ab42a64

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

qasm/generic/adder.qasm

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// quantum ripple-carry adder from Cuccaro et al, quant-ph/0410184
22
OPENQASM 2.0;
33
include "qelib1.inc";
4-
gate majority a,b,c
5-
{
6-
cx c,b;
7-
cx c,a;
8-
ccx a,b,c;
4+
gate majority a,b,c
5+
{
6+
cx c,b;
7+
cx c,a;
8+
ccx a,b,c;
99
}
10-
gate unmaj a,b,c
11-
{
12-
ccx a,b,c;
13-
cx c,a;
14-
cx a,b;
10+
gate unmaj a,b,c
11+
{
12+
ccx a,b,c;
13+
cx c,a;
14+
cx a,b;
1515
}
1616
qreg cin[1];
1717
qreg a[4];

qasm/generic/bigadder.qasm

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
// Cuccaro et al, quant-ph/0410184
44
OPENQASM 2.0;
55
include "qelib1.inc";
6-
gate majority a,b,c
7-
{
8-
cx c,b;
9-
cx c,a;
10-
ccx a,b,c;
6+
gate majority a,b,c
7+
{
8+
cx c,b;
9+
cx c,a;
10+
ccx a,b,c;
1111
}
12-
gate unmaj a,b,c
13-
{
14-
ccx a,b,c;
15-
cx c,a;
16-
cx a,b;
12+
gate unmaj a,b,c
13+
{
14+
ccx a,b,c;
15+
cx c,a;
16+
cx a,b;
1717
}
1818

1919
// add a to b, storing result in b
20-
gate add4 a0,a1,a2,a3,b0,b1,b2,b3,cin,cout
20+
gate add4 a0,a1,a2,a3,b0,b1,b2,b3,cin,cout
2121
{
2222
majority cin,b0,a0;
2323
majority a0,b1,a1;

qasm/generic/qec.qasm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ qreg q[3];
55
qreg a[2];
66
creg c[3];
77
creg syn[2];
8-
gate syndrome d1,d2,d3,a1,a2
9-
{
10-
cx d1,a1; cx d2,a1;
11-
cx d2,a2; cx d3,a2;
8+
gate syndrome d1,d2,d3,a1,a2
9+
{
10+
cx d1,a1; cx d2,a1;
11+
cx d2,a2; cx d3,a2;
1212
}
1313
x q[0]; // error
1414
barrier q;

qasm/generic/qft.qasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OPENQASM 2.0;
33
include "qelib1.inc";
44
qreg q[4];
55
creg c[4];
6-
x q[0];
6+
x q[0];
77
x q[2];
88
barrier q;
99
h q[0];

qasm/ibmqx2/W3test.qasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Name of Experiment: W3test v1
2-
// example of W-state |001> + |010> + |100>
2+
// example of W-state |001> + |010> + |100>
33
// found by user lukasknips at http://ibm.biz/qiskit-W3-Example
44

55
OPENQASM 2.0;

0 commit comments

Comments
 (0)