How do I calculate an MPO using an iMPS
Posted: 15 Dec 2023, 22:37
Given an iMPS \(|s \rangle \), is it possible to construct an MPO corresponding to \(\hat{O} = | s \rangle \langle s |\)?
Ultimately, what I would like to do is given two iMPS objects \(|s \rangle\), and \(|t \rangle\), evaluate the Grover operator
\(\hat{U}_s|t \rangle = 2 \langle s | t \rangle \ |s \rangle - | t \rangle\). Since the add method of tenpy.networks.mps.MPS does not work for iMPS, I am attempting to construct the Grover operator as an MPO.
Ultimately, what I would like to do is given two iMPS objects \(|s \rangle\), and \(|t \rangle\), evaluate the Grover operator
\(\hat{U}_s|t \rangle = 2 \langle s | t \rangle \ |s \rangle - | t \rangle\). Since the add method of tenpy.networks.mps.MPS does not work for iMPS, I am attempting to construct the Grover operator as an MPO.