From 00b6540ea621a61835e7d722a34d25ba3c89a2fa Mon Sep 17 00:00:00 2001 From: Liwei Yang Date: Fri, 21 Apr 2023 10:58:19 +0800 Subject: [PATCH] Minor inlining update --- src/qibotn/QiboCircuitConvertor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibotn/QiboCircuitConvertor.py b/src/qibotn/QiboCircuitConvertor.py index 347f99f..abd3905 100644 --- a/src/qibotn/QiboCircuitConvertor.py +++ b/src/qibotn/QiboCircuitConvertor.py @@ -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)