Skip to content

Commit cad246d

Browse files
author
Rúben André Barreiro
committed
New classes generated and added
1 parent 8966ee7 commit cad246d

File tree

5 files changed

+2
-1
lines changed

5 files changed

+2
-1
lines changed

src/main/java/org/quisl/framework/java/instructions/operators/quantum/QuantumOperator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.quisl.framework.java.instructions.operators.quantum;
22

3+
import org.quisl.framework.java.common.ComputingPrefixes;
34
import org.quisl.framework.java.instructions.operators.Operator;
45
import org.quisl.framework.java.math.complex.ComplexNumber;
56
import org.quisl.framework.java.units.computing.quantum.binary.qubits.Qubit;
@@ -17,7 +18,7 @@ public abstract class QuantumOperator extends Operator {
1718
public QuantumOperator(Long quantumOperatorId, Integer numQubits, Qubit[] qubits,
1819
ComplexNumber[][] quantumOperatorMatrix) {
1920

20-
super(quantumOperatorId);
21+
super(quantumOperatorId, ComputingPrefixes.QUANTUM_PREFIX.getComputingPrefix());
2122

2223
this.numQubits = numQubits;
2324
this.qubits = qubits;
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)