Implementing quantum gates

How do I use this algorithm? What does that parameter do?
Post Reply
LoP131
Posts: 2
Joined: 31 Jan 2019, 18:46

Implementing quantum gates

Post 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!
User avatar
Johannes
Site Admin
Posts: 413
Joined: 21 Jul 2018, 12:52
Location: TU Munich

Re: Implementing quantum gates

Post 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.
LoP131
Posts: 2
Joined: 31 Jan 2019, 18:46

Re: Implementing quantum gates

Post 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".
Post Reply