ITensorNetworks.jl icon indicating copy to clipboard operation
ITensorNetworks.jl copied to clipboard

Add normalize flag in default message update

Open JoeyT1994 opened this issue 1 year ago • 0 comments

This is quick PR too add support for turning off/ on normalization in the default_message_update function for belief propagation.

This avoids having to define a new function when wishing to avoid normalization. Having normalize = false is very useful when wishing to contract sub-trees inside a tensor network exactly.

JoeyT1994 avatar Aug 08 '24 16:08 JoeyT1994