# How to compute inner product of MPS with another MPS translated by 1 right sites

**URL:** https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756
**Category:** New to Julia
**Tags:** question
**Created:** [May 6, 2025, 1:21pm UTC](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756 "2025-05-06T13:21:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Juan\_D](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juan_d/32/216677_2.png) [@Juan\_D](https://discourse.julialang.org/u/Juan_D)
#### Post date: [May 6, 2025, 1:21pm UTC](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756/1 "2025-05-06T13:21:14Z")

</div>

Hello everyone,

I would like to ask if there is a way to compute the inner product ⟨ψ | T₁ | ψ⟩, where T₁ is a cyclic translation operator that shifts site n-to-n+1, by successively applying ITensor’s `movesite` functions, without the need to explicitly build an MPO for T₁.

Could this be considered a correct interpretation?

I would appreciate any help or insights you can provide.

Best regards,

Juan.

---

<div class="post-metadata">

### Author: ![juthohaegeman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juthohaegeman/32/8620_2.png) [@juthohaegeman](https://discourse.julialang.org/u/juthohaegeman)
#### Post date: [May 6, 2025, 7:33pm UTC](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756/3 "2025-05-06T19:33:37Z")

</div>

I had overlooked that your post mentions ITensor, so I thought it was impossible to solve without further details. Possibly you will get faster response on ITensor’s dedicated forum:

> **[ITensor Discourse](https://itensor.discourse.group)**
>
> Discussion of the ITensor software and related packages

---

<div class="post-metadata">

### Author: ![Juan\_D](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juan_d/32/216677_2.png) [@Juan\_D](https://discourse.julialang.org/u/Juan_D)
#### Post date: [May 6, 2025, 8:10pm UTC](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756/4 "2025-05-06T20:10:43Z")

</div>

Thank you for the help! I will write in the forum.
