From ce018abb16b8053f155381cce6330f3a31970add Mon Sep 17 00:00:00 2001 From: tankya2 Date: Thu, 3 Aug 2023 13:32:20 +0800 Subject: [PATCH] Removed default dtype --- src/qibotn/MPSUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibotn/MPSUtils.py b/src/qibotn/MPSUtils.py index cb77e4b..b5f472a 100644 --- a/src/qibotn/MPSUtils.py +++ b/src/qibotn/MPSUtils.py @@ -2,7 +2,7 @@ import cupy as cp from cuquantum.cutensornet.experimental import contract_decompose from cuquantum import contract -def get_initial_mps(num_qubits, dtype='complex128'): +def initial(num_qubits, dtype): """ Generate the MPS with an initial state of |00...00> """ @@ -75,4 +75,4 @@ def apply_gate( mps_site_right_swap(mps_tensors, i, algorithm=algorithm, options=options) else: raise NotImplementedError("Only one- and two-qubit gates supported") - return mps_tensors \ No newline at end of file + return mps_tensors