Page 1 of 1

Implementing quantum gates

Posted: 01 Feb 2019, 14:21
by LoP131
Hi, I'm new to TeNPy, and tensor networks in general. I want to implement a quantum gate acting on an MPS. Is there an efficient way to do this in TeNPy?

The idea would be to time-evolve this new MPS via TEBD.

Thanks!

Re: Implementing quantum gates

Posted: 01 Feb 2019, 14:40
by Johannes
What kind of "gate" do you have in mind? The usual TEBD where the "gates" are U=exp(i H_bond dt) is implemented in TeNPy.

Re: Implementing quantum gates

Posted: 02 Feb 2019, 02:30
by LoP131
I see. I was thinking on applying a string of spin-flip operators onto an MPS followed by a time-evolution operator with some Hamiltonian. But I guess I can put the former as a unitary operator and run two consecutive TEBDs for the two different "Hamiltonians".