Skip to content

Refactor Ansatz to be a concrete type with lattice information (#223) #576

Refactor Ansatz to be a concrete type with lattice information (#223)

Refactor Ansatz to be a concrete type with lattice information (#223) #576

Triggered via push November 4, 2024 15:22
Status Success
Total duration 10m 57s
Artifacts

Documenter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/ansatz/chain.md:18-31 ```@example viz fig = Figure() # hide tn_open = rand(MatrixProduct{State,Open}, n=10, χ=4) # hide tn_periodic = rand(MatrixProduct{State,Periodic}, n=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide plot!(fig[1,2], tn_periodic, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` exception = UndefVarError: `MatrixProduct` not defined in `Main.__atexample__named__viz` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ chain.md:21 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/ansatz/chain.md:38-51 ```@example viz fig = Figure() # hide tn_open = rand(MatrixProduct{Operator,Open}, n=10, χ=4) # hide tn_periodic = rand(MatrixProduct{Operator,Periodic}, n=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide plot!(fig[1,2], tn_periodic, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` exception = UndefVarError: `MatrixProduct` not defined in `Main.__atexample__named__viz` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ chain.md:41 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'MatrixProduct' in `@docs` block in src/ansatz/chain.md:55-58 ```@docs MatrixProduct MatrixProduct(::Any) ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'MatrixProduct' in `@docs` block in src/ansatz/chain.md:55-58 ```@docs MatrixProduct MatrixProduct(::Any) ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'contract(::Tenet.TensorNetwork)' in `@docs` block in src/contraction.md:5-9 ```@docs einexpr(::Tenet.TensorNetwork) contract(::Tenet.TensorNetwork) contract! ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'Tenet.inds(::Quantum; kwargs...)' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'Tenet.tensors(::Quantum; kwargs...)' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'inputs' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'outputs' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documenter: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'lanes' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```