Since ITensor/ITensors.jl#1551 and ITensor/ITensorMPS.jl#31, ITensors.jl no longer exports add!, since it is primarily an operation for OpSum, which was also removed as an export.
As an alternative, one has to load ITensorMPS.jl which exports add!. However, we don't want to force users of ITensorNetworks.jl to explicitly load ITensorMPS.jl, so we should allow users to do using ITensorNetworks: add! to access it, and also considering exporting it eventually (I'm trying to limit exports from ITensorNetworks.jl for the time being).
Since ITensor/ITensors.jl#1551 and ITensor/ITensorMPS.jl#31,
ITensors.jlno longer exportsadd!, since it is primarily an operation forOpSum, which was also removed as an export.As an alternative, one has to load
ITensorMPS.jlwhich exportsadd!. However, we don't want to force users ofITensorNetworks.jlto explicitly loadITensorMPS.jl, so we should allow users to dousing ITensorNetworks: add!to access it, and also considering exporting it eventually (I'm trying to limit exports fromITensorNetworks.jlfor the time being).