Search found 1 match

by hainingpan
12 Jan 2024, 21:56
Forum: HowTos and FAQ for TeNPy
Topic: A bug in "MPS.apply_local_op"?
Replies: 0
Views: 24803

A bug in "MPS.apply_local_op"?

I encountered a very strange problem. The minimal example is a chain of qubits of 4, and then followed by a 2-site gate. The strange thing is that: the answer is incorrect when the 2 site gate is applied to qubits (1,2) using MPS.apply_local_op", but it is correct when applying to qubits (0,1)....