Removed default dtype
This commit is contained in:
@@ -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
|
||||
return mps_tensors
|
||||
|
||||
Reference in New Issue
Block a user