Skip to content

Commit a8b8989

Browse files
author
Rúben André Barreiro
committed
Abstract Classical Gate added
1 parent 1de6778 commit a8b8989

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package org.quisl.framework.java.instructions.gates.classical;
2+
3+
import org.quisl.framework.java.common.ComputingPrefixes;
4+
import org.quisl.framework.java.instructions.gates.Gate;
5+
6+
public class ClassicalGate extends Gate {
7+
8+
public ClassicalGate(Integer numInputs, Integer numOutputs, String gateName) {
9+
10+
super(numInputs, numOutputs, ComputingPrefixes.CLASSICAL_PREFIX.getComputingPrefix(), gateName);
11+
12+
}
13+
14+
@Override
15+
public void applyGate() {
16+
17+
// Empty Method
18+
19+
}
20+
21+
}

0 commit comments

Comments
 (0)