You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function mps_gate_with_mpo_lazy calls tensor_network_apply_op_vec with parameters tn_op=mpo, tn_vec=mps, which results in an error. Correct way would be A=mpo, x=mps.
1485defmps_gate_with_mpo_lazy(mps, mpo, inplace=False):
1486"""Apply an MPO to an MPS lazily, i.e. nothing is contracted, but the new 1487 TN object has the same outer indices as the original MPS. 1488 """->1489returntensor_network_apply_op_vec(
1490tn_op=mpo, tn_vec=mps, contract=False, inplace=inplace1491 )
TypeError: tensor_network_apply_op_vec() missing2requiredpositionalarguments: 'A'and'x'
Anything else we need to know?
No response
Environment
quimb 1.8.3
The text was updated successfully, but these errors were encountered:
What happened?
The function
mps_gate_with_mpo_lazy
callstensor_network_apply_op_vec
with parameterstn_op=mpo, tn_vec=mps
, which results in an error. Correct way would beA=mpo, x=mps
.What did you expect to happen?
No response
Minimal Complete Verifiable Example
Relevant log output
Anything else we need to know?
No response
Environment
quimb 1.8.3
The text was updated successfully, but these errors were encountered: