Search found 2 matches

by Robin123462
25 Oct 2023, 16:42
Forum: HowTos and FAQ for TeNPy
Topic: W-state as MPS
Replies: 3
Views: 20953

Re: W-state as MPS

Hello Johannes, thanks a lot for the quick and detailed reply, it helps me a lot. Unfortunately, another error occurred and I'm unsure whether it's a mistake on my part, maybe you can help me there too. I've run the following model: class XYModel(CouplingModel, MPOModel): def __init__(self, model_pa...
by Robin123462
25 Oct 2023, 10:42
Forum: HowTos and FAQ for TeNPy
Topic: W-state as MPS
Replies: 3
Views: 20953

W-state as MPS

Hello, I'm trying to implement the W-state (https://en.wikipedia.org/wiki/W_state) as an MPS. My first approach was the MPS.from_Bflat() function, but I'm not quite sure which shape the Matrix should have. I've tried for example the State 1/sqrt(3) (|100> + |010> + |001>) by the three matrices A_1 =...