Skip to content

Fix contract methods #457

Fix contract methods

Fix contract methods #457

Triggered via push August 29, 2023 19:03
Status Failure
Total duration 12m 12s
Artifacts

CI.yml

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

Annotations

1 error and 8 warnings
Julia 1.9 - ubuntu-latest - x64 - push
Process completed with exit code 1.
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 = UndefVarError: `Spring` 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/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 = UndefVarError: `Spring` not defined
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
14 docstrings not included in the manual: Base.in :: Tuple{Tensor, TensorNetwork} Tenet.tag! :: Tuple{Tensor, String} Tenet.ansatz :: Union{Tuple{Type{<:TensorNetwork{A}}}, Tuple{A}} where A Tenet.hastag :: Tuple{Tensor, String} Tenet.layers :: Union{Tuple{As}, Tuple{TensorNetwork{As}, Any}} where As<:Tenet.Composite Tenet.untag! :: Tuple{Tensor, String} Tenet.Composite Tenet.letter :: Tuple{Any} Tenet.tags :: Tuple{Tensor} Base.:* :: Tuple{Tensor, Tensor} Tenet.Arbitrary Tenet.marginal :: Tuple{Any, Any} Tenet.Ansatz Base.size :: Tuple{Tensor} These are docstrings in the checked modules (configured with the modules keyword) that are not included in @docs or @autodocs blocks.