Skip to content

Import code from Tensors package #455

Import code from Tensors package

Import code from Tensors package #455

Triggered via pull request August 29, 2023 15:25
Status Success
Total duration 13m 0s
Artifacts

CI.yml

on: pull_request
Matrix: Documentation
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/google-rqc.md:65-70 ```@example circuit using EinExprs # hide using NetworkLayout # hide path = einexpr(tn, optimizer = Greedy) # hide plot(path, layout=Stress()) # hide ``` value = ArgumentError: Package NetworkLayout not found in current path. - Run `import Pkg; Pkg.add("NetworkLayout")` to install the NetworkLayout package.
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@setup` block in src/quantum/mps.md ```@setup viz using Makie Makie.inline!(true) set_theme!(resolution=(800,200)) using CairoMakie using Tenet using NetworkLayout ``` exception = LoadError: ArgumentError: Package NetworkLayout not found in current path. - Run `import Pkg; Pkg.add("NetworkLayout")` to install the NetworkLayout package. in expression starting at string:8
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/quantum/mps.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 ``` value = MethodError: no method matching contract(::EinExprs.EinExpr) Closest candidates are: contract(::Union{AbstractArray{T, 0}, T}, !Matched::Tensor{T, N, A} where {N, A<:AbstractArray{T, N}}) where T @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:62 contract(!Matched::Tensor; dims) @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:50 contract(!Matched::Tensor, !Matched::Tensor; dims) @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:37 ...
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/quantum/mps.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 ``` value = MethodError: no method matching contract(::EinExprs.EinExpr) Closest candidates are: contract(::Union{AbstractArray{T, 0}, T}, !Matched::Tensor{T, N, A} where {N, A<:AbstractArray{T, N}}) where T @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:62 contract(!Matched::Tensor; dims) @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:50 contract(!Matched::Tensor, !Matched::Tensor; dims) @ Tenet ~/work/Tenet.jl/Tenet.jl/src/Numerics.jl:37 ...
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@setup` block in src/quantum/peps.md ```@setup viz using Makie Makie.inline!(true) set_theme!(resolution=(800,400)) using CairoMakie CairoMakie.activate!(type = "svg") using Tenet using NetworkLayout ``` exception = LoadError: ArgumentError: Package NetworkLayout not found in current path. - Run `import Pkg; Pkg.add("NetworkLayout")` to install the NetworkLayout package. in expression starting at string:9
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/quantum/peps.md:17-30 ```@example viz fig = Figure() # hide tn_open = rand(PEPS{Open}, rows=10, cols=10, χ=4) # hide tn_periodic = rand(PEPS{Periodic}, rows=10, cols=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Stress(seed=1)) # hide plot!(fig[1,2], tn_periodic, layout=Stress(seed=10,dim=2,iterations=100000)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` value = UndefVarError: `Stress` not defined
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/quantum/peps.md:34-47 ```@example viz fig = Figure() # hide tn_open = rand(PEPO{Open}, rows=10, cols=10, χ=4) # hide tn_periodic = rand(PEPO{Periodic}, rows=10, cols=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Stress(seed=1)) # hide plot!(fig[1,2], tn_periodic, layout=Stress(seed=10,dim=2,iterations=100000)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` value = UndefVarError: `Stress` not defined
Documentation (1.9, ubuntu-latest, x64): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
15 docstrings not included in the manual: Tenet.letter :: Tuple{Any} Tenet.marginal :: Tuple{Any, Any} Tenet.Composite Tenet.tags :: Tuple{Tensor} Tenet.tag! :: Tuple{Tensor, String} Tenet.Arbitrary Base.in :: Tuple{Tensor, TensorNetwork} Tenet.tensors :: Tuple{TensorNetwork{<:Quantum}, Integer, Vararg{Any}} Tenet.ansatz :: Union{Tuple{Type{<:TensorNetwork{A}}}, Tuple{A}} where A Tenet.hastag :: Tuple{Tensor, String} Tenet.Ansatz Base.:* :: Tuple{Tensor, Tensor} Tenet.untag! :: Tuple{Tensor, String} Base.size :: Tuple{Tensor} Tenet.layers :: Union{Tuple{As}, Tuple{TensorNetwork{As}, Any}} where As<:Tenet.Composite These are docstrings in the checked modules (configured with the modules keyword) that are not included in @docs or @autodocs blocks.