Minor inlining update

This commit is contained in:
Liwei Yang
2023-04-21 10:58:19 +08:00
parent 88710f54f3
commit 00b6540ea6

View File

@@ -21,7 +21,7 @@ class QiboCircuitToEinsum:
"""This function is to modify the shape of the tensor to the required format by cuQuantum
(qubit_states,) * input_output * qubits_involved
"""
return (2,) * 2 * nqubits
return (2, 2) * nqubits
self.backend = cp
self.dtype = getattr(self.backend, dtype)