Skip to content

Add new Circuit, Gate, Lane, Moment types (#282) #822

Add new Circuit, Gate, Lane, Moment types (#282)

Add new Circuit, Gate, Lane, Moment types (#282) #822

Triggered via push January 14, 2025 23:27
Status Success
Total duration 11m 46s
Artifacts

Documenter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Documenter: ../../../.julia/packages/DocumenterCitations/eOG2E/src/expand_citations.jl#L139
expand_citation (rec): No destination for key="gray2021hyper" → unlinked text "Gray and Kourtis, 2021"
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
failed to run `@example` block in src/manual/tensor-network.md:178-195 ```@example plot fig = Figure() # hide A = Tensor(rand(2,2), [:i,:j]) B = Tensor(rand(2,2), [:i,:k]) C = Tensor(rand(2,2), [:i,:l]) tn = TensorNetwork([A, B, C]) transformed = transform(tn, Tenet.HyperFlatten()) graphplot!(fig[1, 1], tn; layout=Stress(), labels=true) #hide graphplot!(fig[1, 2], transformed; layout=Stress(), labels=true) #hide Label(fig[1, 1, Bottom()], "Original") #hide Label(fig[1, 2, Bottom()], "Transformed") #hide fig #hide ``` exception = KeyError: key (:i1, :i2, :i3) not found Stacktrace: [1] getindex(h::Dict{Vector{Symbol}, Symbol}, key::Tuple{Symbol, Symbol, Symbol}) @ Base ./dict.jl:477 [2] (::TenetGraphMakieExt.var"#14#28"{IdDict{Int64, Int64}, Vector{Int64}, Vector{Int64}, Dict{Vector{Symbol}, Symbol}})(edge::Graphs.SimpleGraphs.SimpleEdge{Int64}) @ TenetGraphMakieExt ~/work/Tenet.jl/Tenet.jl/ext/TenetGraphMakieExt.jl:125 [3] iterate @ ./generator.jl:48 [inlined] [4] collect(itr::Base.Generator{Graphs.SimpleGraphs.SimpleEdgeIter{Graphs.SimpleGraphs.SimpleGraph{Int64}}, TenetGraphMakieExt.var"#14#28"{IdDict{Int64, Int64}, Vector{Int64}, Vector{Int64}, Dict{Vector{Symbol}, Symbol}}}) @ Base ./array.jl:791 [5] map(f::Function, A::Graphs.SimpleGraphs.SimpleEdgeIter{Graphs.SimpleGraphs.SimpleGraph{Int64}}) @ Base ./abstractarray.jl:3399 [6] (::TenetGraphMakieExt.var"#11#25"{Vector{Int64}, Vector{Int64}, Graphs.SimpleGraphs.SimpleGraph{Int64}, Dict{Vector{Symbol}, Symbol}})() @ TenetGraphMakieExt ~/work/Tenet.jl/Tenet.jl/ext/TenetGraphMakieExt.jl:112 [7] get!(default::TenetGraphMakieExt.var"#11#25"{Vector{Int64}, Vector{Int64}, Graphs.SimpleGraphs.SimpleGraph{Int64}, Dict{Vector{Symbol}, Symbol}}, h::Dict{Symbol, Any}, key::Symbol) @ Base ./dict.jl:458 [8] graphplot!(ax::Axis, tn::TensorNetwork; labels::Bool, kwargs::@kwargs{layout::NetworkLayout.Stress{2, Float64, Symbol, Float64, Matrix{Float64}, NetworkLayout.var"#37#39", Random.MersenneTwister}}) @ TenetGraphMakieExt ~/work/Tenet.jl/Tenet.jl/ext/TenetGraphMakieExt.jl:108 [9] graphplot!(f::GridPosition, tn::TensorNetwork; kwargs::@kwargs{layout::NetworkLayout.Stress{2, Float64, Symbol, Float64, Matrix{Float64}, NetworkLayout.var"#37#39", Random.MersenneTwister}, labels::Bool}) @ TenetGraphMakieExt ~/work/Tenet.jl/Tenet.jl/ext/TenetGraphMakieExt.jl:43 [10] top-level scope @ tensor-network.md:188 [11] eval @ ./boot.jl:430 [inlined] [12] #60 @ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined] [13] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [14] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802 [15] (::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 [16] 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 [17] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [18] 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 [19] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Docu
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
invalid local link/image: file does not exist in src/manual/quantum.md link = @ast MarkdownAST.Link("ref", "") do MarkdownAST.Code("Quantum") end
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`adjoint`](@ref Base.adjoint(::AbstractQuantum))" in src/manual/quantum.md. - Exception trying to find docref for `Base.adjoint(::AbstractQuantum)`: unable to evaluate the type signature for `Base.adjoint(::AbstractQuantum)` in src/manual/quantum.md in module Main
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`State`](@ref)" in src/manual/quantum.md. - No docstring found in doc for binding `Main.State`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`Operator`](@ref)" in src/manual/quantum.md. - No docstring found in doc for binding `Main.Operator`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`Scalar`](@ref)" in src/manual/quantum.md. - No docstring found in doc for binding `Main.Scalar`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`State`](@ref)" in src/manual/quantum.md. - No docstring found in doc for binding `Main.State`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`Operator`](@ref)" in src/manual/quantum.md. - No docstring found in doc for binding `Main.Operator`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`AbstractMPO`](@ref)" in src/api/mps.md. - No docstring found in doc for binding `Tenet.AbstractMPO`. - No docstring found in doc for binding `Main.AbstractMPO`.
Documenter: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`AbstractMPO`](@ref)" in src/api/mps.md. - No docstring found in doc for binding `Tenet.AbstractMPO`. - No docstring found in doc for binding `Main.AbstractMPO`.