Merge branch 'multi-node-multi-GPU' of https://github.com/qiboteam/qibotn into multi-node-multi-GPU
This commit is contained in:
@@ -95,7 +95,8 @@ class QiboCircuitToEinsum:
|
|||||||
required_shape = self.op_shape_from_qubits(len(gate_qubits))
|
required_shape = self.op_shape_from_qubits(len(gate_qubits))
|
||||||
self.gate_tensors.append(
|
self.gate_tensors.append(
|
||||||
(
|
(
|
||||||
cp.asarray(gate.matrix).reshape(required_shape),
|
cp.asarray(gate.matrix(), dtype=self.dtype).reshape(
|
||||||
|
required_shape),
|
||||||
gate_qubits,
|
gate_qubits,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user