# Reading floating point numbers from HDF5 file

+1 vote

I am writing an MPS along with the expectation values of some operators computed with respect to that MPS to an HDF5 file. I can successfully use the following command to read the MPS:

read(f,"psi",MPS)


However, I am not sure how to read the expectation values. What "type" should I use in that case? I have tried the following:

read(f,"energy",Float)


But it doesn't work. I am using the Julia version of ITensor.

Thank you!

+1 vote
selected by