Hello, I am trying to find a way to compute the covariance matrix and vector of first moments of the ground state of an arbitrary Gaussian Hamiltonian of an N-mode system such as
Does Pennylane or Starberryfields have a method that can accomplish this task? And if not are there any resources that explain how to compute the ground state of a Gaussian Hamiltonian? The problem should be able to be solved efficiently classical since the Hamiltonian is Gaussian but I haven’t found much information on it beyond the Williamson decomposition which I don’t think is what is needed to solve the problem. Thanks in advance for any help!
Hi @CatalinaAlbornoz, thank you for the reply and resources! However, MrMustard only seems to compute the covariance matrix of a Gaussian state whose symplectic matrix you already know. What I am trying to do is actually find the ground state (which is some Gaussian state) of a Gaussian Hamiltonian and its corresponding covariance matrix and vector of first moments. Does that make sense?