Skip to content

Add Form-specific constructors for MPS #624

Add Form-specific constructors for MPS

Add Form-specific constructors for MPS #624

Triggered via pull request November 13, 2024 14:19
Status Success
Total duration 9m 49s
Artifacts

Documenter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Documenter: ../../../.julia/packages/Documenter/Bs999/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/Bs999/src/expander_pipeline.jl:803 [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/Bs999/src/expander_pipeline.jl:802 [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/Bs999/src/expander_pipeline.jl:801
Documenter: ../../../.julia/packages/Documenter/Bs999/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/Bs999/src/expander_pipeline.jl:803 [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/Bs999/src/expander_pipeline.jl:802 [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/Bs999/src/expander_pipeline.jl:801
Documenter: ../../../.julia/packages/Documenter/Bs999/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/Bs999/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/Bs999/src/utilities/utilities.jl#L46
no docs found for '!!! warning "Missing docstring." Missing docstring for `contract(::Tenet.TensorNetwork)`. Check Documenter's build log for details.' in `@docs` block in src/contraction.md:5-9 ```@docs einexpr(::Tenet.TensorNetwork) contract(::Tenet.TensorNetwork) contract! ```
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
no docs found for '!!! warning "Missing docstring." Missing docstring for `Tenet.inds(::Quantum; kwargs...)`. Check Documenter's build log for details.' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
no docs found for '!!! warning "Missing docstring." Missing docstring for `Tenet.tensors(::Quantum; kwargs...)`. Check Documenter's build log for details.' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
no docs found for '!!! warning "Missing docstring." Missing docstring for `inputs`. Check Documenter's build log for details.' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
no docs found for '!!! warning "Missing docstring." Missing docstring for `outputs`. Check Documenter's build log for details.' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
undefined binding 'lanes' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```