Skip to content

Commit

Permalink
export Product
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Nov 5, 2024
1 parent c2c65d0 commit 5715340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TenetChainRulesCoreExt/frules.jl
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/Tenet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5715340

Please sign in to comment.