File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/main/java/org/quisl/framework/java/circuits/utils/quantum Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import org .quisl .framework .java .circuits .utils .Moment ;
4
4
import org .quisl .framework .java .circuits .utils .common .MomentPrefixes ;
5
+ import org .quisl .framework .java .instructions .operators .quantum .QuantumOperator ;
6
+
7
+ import java .util .Map ;
8
+ import java .util .concurrent .ConcurrentHashMap ;
5
9
6
10
public class QuantumMoment extends Moment {
7
11
12
+ private Map <Long , QuantumOperator > quantumOperators ;
13
+
14
+
8
15
public QuantumMoment (Long numMoment ) {
9
16
10
17
super (numMoment , MomentPrefixes .QUANTUM_MOMENT .getMomentPrefix ());
11
18
19
+ this .quantumOperators = new ConcurrentHashMap <>();
20
+
21
+ }
22
+
23
+
24
+ public Map <Long , QuantumOperator > getQuantumOperators () {
25
+
26
+ return this .quantumOperators ;
27
+
12
28
}
13
29
14
30
}
You can’t perform that action at this time.
0 commit comments