ITensor / ITensorNetworks.jl

A package with general tools for working with higher-dimensional tensor networks based on ITensor.
MIT License
51 stars 12 forks source link

Fix bug in QuadraticFormNetwork constructor when no operator present #169

Closed JoeyT1994 closed 1 month ago

JoeyT1994 commented 2 months ago

This PR fixes a bug in the QuadraticFormNetwork(ket::AbstractITensorNetwork; kwarg...) constructor where a bra variable was being passed that doesn't exist.

This PR should fix that and adds a quick test for the above constructor so that it would get caught in the future.

mtfishman commented 1 month ago

Thanks!