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
GitHub
parent
6f7df9d924
commit
9ea895bcfd
@@ -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