diff --git a/src/abstractitensornetwork.jl b/src/abstractitensornetwork.jl index d134126f..0e3b8686 100644 --- a/src/abstractitensornetwork.jl +++ b/src/abstractitensornetwork.jl @@ -445,7 +445,7 @@ function svd( ) tn = copy(tn) left_inds = uniqueinds(tn, edge) - U, S, V = svd(tn[src(edge)], left_inds; lefttags=u_tags, right_tags=v_tags, kwargs...) + U, S, V = svd(tn[src(edge)], left_inds; lefttags=u_tags, righttags=v_tags, kwargs...) rem_vertex!(tn, src(edge)) add_vertex!(tn, U_vertex) @@ -562,7 +562,7 @@ function _truncate_edge(tn::AbstractITensorNetwork, edge::AbstractEdge; kwargs.. tn = copy(tn) left_inds = uniqueinds(tn, edge) ltags = tags(tn, edge) - U, S, V = svd(tn[src(edge)], left_inds; lefttags=ltags, ortho="left", kwargs...) + U, S, V = svd(tn[src(edge)], left_inds; lefttags=ltags, kwargs...) tn[src(edge)] = U tn[dst(edge)] *= (S * V) return tn diff --git a/src/gauging.jl b/src/gauging.jl index 194dce98..9b321a6e 100644 --- a/src/gauging.jl +++ b/src/gauging.jl @@ -103,9 +103,7 @@ function vidal_gauge( mts = belief_propagation( ψψ, mts; contract_kwargs=(; alg="exact"), niters, target_precision=target_canonicalness ) - return vidal_gauge( - ψ, mts; eigen_message_tensor_cutoff, regularization, niters, svd_kwargs... - ) + return vidal_gauge(ψ, mts; eigen_message_tensor_cutoff, regularization, svd_kwargs...) end """Transform from an ITensor in the Vidal Gauge (bond tensors) to the Symmetric Gauge (message tensors)"""