Update src/qibotn/eval_qu.py
updated the changes Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
This commit is contained in:
committed by
yangliwei
parent
483baa7f6e
commit
100c9f302a
@@ -36,7 +36,7 @@ def from_qibo(
|
|||||||
|
|
||||||
|
|
||||||
def init_state_tn(nqubits, init_state_sv):
|
def init_state_tn(nqubits, init_state_sv):
|
||||||
"""Create a matrixproductstate directly from a dense vector."""
|
"""Create a matrix product state directly from a dense vector."""
|
||||||
|
|
||||||
dims = tuple(2 * np.ones(nqubits, dtype=int))
|
dims = tuple(2 * np.ones(nqubits, dtype=int))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user