diff --git a/ext/TenetChainRulesCoreExt/frules.jl b/ext/TenetChainRulesCoreExt/frules.jl index e9bc5332..d6bb3d43 100644 --- a/ext/TenetChainRulesCoreExt/frules.jl +++ b/ext/TenetChainRulesCoreExt/frules.jl @@ -1,4 +1,4 @@ -using Tenet: AbstractTensorNetwork, AbstractQuantum, Product +using Tenet: AbstractTensorNetwork, AbstractQuantum # `Tensor` constructor ChainRulesCore.frule((_, Δ, _), T::Type{<:Tensor}, data, inds) = T(data, inds), T(Δ, inds) diff --git a/src/Tenet.jl b/src/Tenet.jl index 8016f549..0ca5d2dc 100644 --- a/src/Tenet.jl +++ b/src/Tenet.jl @@ -35,6 +35,7 @@ export canonize_site, canonize_site!, canonize, canonize!, mixed_canonize, mixed export evolve!, expect, overlap include("Ansatz/Product.jl") +export Product # reexports from EinExprs export einexpr, inds