Hi everyone,
Thanks you trying out our new forum, glad to see it is already getting some use. Could you please format your code and equations? We have a guide for doing that here: Welcome to ITensor Discourse. It will make it easier for us and others to understand and answer your questions!
Thanks,
Matt