Skip to content

reduce JET errors #1715

reduce JET errors

reduce JET errors #1715

Triggered via pull request September 19, 2024 14:44
Status Failure
Total duration 18m 34s
Artifacts

ci.yml

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

Annotations

11 errors and 9 warnings
Julia 1 - t=5 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1 - t=1 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.9 - t=1 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.9 - t=5 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1 - t=1 - macos-latest - aarch64 - pull_request
Process completed with exit code 1.
Julia 1 - t=1 - windows-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1 - t=1 - macos-latest - x64 - pull_request
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/ECC_evaluating.md:69-86 ```@example decoderexample import PyQDecoders mem_errors = 0.001:0.005:0.1 codes = [Toric(4,4), Toric(6,6)] results = zeros(length(codes), length(mem_errors), 2) for (ic, c) in pairs(codes) for (i,m) in pairs(mem_errors) setup = ShorSyndromeECCSetup(m, 0) decoder = PyMatchingDecoder(c) r = evaluate_decoder(decoder, setup, 1000) results[ic,i,:] .= r end end make_decoder_figure(mem_errors, results, "Toric code with a MWPM decoder") ``` exception = TypeError: in typeassert, expected UInt64, got a value of type Matrix{UInt64} Stacktrace: [1] fastcolumn(t::QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:20 [2] fastcolumn(s::Stabilizer{QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:24 [3] PauliFrame(frames::Int64, qubits::Int64, measurements::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:29 [4] _create_pauliframe(ccircuit::Vector{QuantumClifford.CompactifiedGate}; trajectories::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:193 [5] _pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:207 [6] pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:187 [7] evaluate_decoder(d::QuantumCliffordPyQDecodersExt.PyMatchingDecoder, nsamples::Int64, circuit::Vector{QuantumClifford.AbstractOperation}, syndrome_bits::UnitRange{Int64}, logical_bits::UnitRange{Int64}, faults_submatrix::BitMatrix) @ QuantumClifford.ECC ~/work/QuantumClifford.jl/QuantumClifford.jl/src/ecc/decoder_pipeline.jl:164 [8] evaluate_decoder(d::QuantumCliffordPyQDecodersExt.PyMatchingDecoder, setup::QuantumClifford.ECC.ShorSyndromeECCSetup, nsamples::Int64) @ QuantumClifford.ECC ~/work/QuantumClifford.jl/QuantumClifford.jl/src/ecc/decoder_pipeline.jl:142 [9] top-level scope @ ./ECC_evaluating.md:80 [10] eval @ ./boot.jl:385 [inlined] [11] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [12] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [13] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [14] (::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 [15] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [16] with_logger @ ./logging.jl:627 [inlined] [17] 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 [18] 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
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/ecc_example_sim.md:38-43 ```@example 1 circuit = [ecirc..., scirc...] nframes = 4 frames = pftrajectories(circuit; trajectories=nframes) # run the sims pfmeasurements(frames) # extract the measurements ``` exception = TypeError: in typeassert, expected UInt64, got a value of type Matrix{UInt64} Stacktrace: [1] fastcolumn(t::QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:20 [2] fastcolumn(s::Stabilizer{QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:24 [3] PauliFrame(frames::Int64, qubits::Int64, measurements::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:29 [4] _create_pauliframe(ccircuit::Vector{QuantumClifford.CompactifiedGate}; trajectories::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:193 [5] _pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:207 [6] pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:187 [7] top-level scope @ ecc_example_sim.md:41 [8] eval @ ./boot.jl:385 [inlined] [9] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [10] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [11] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [12] (::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 [13] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [14] with_logger @ ./logging.jl:627 [inlined] [15] 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 [16] 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
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/ecc_example_sim.md:61-64 ```@example 1 frames = pftrajectories(fullcircuit; trajectories=nframes) pfmeasurements(frames) ``` exception = TypeError: in typeassert, expected UInt64, got a value of type Matrix{UInt64} Stacktrace: [1] fastcolumn(t::QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:20 [2] fastcolumn(s::Stabilizer{QuantumClifford.Tableau{Vector{UInt8}, Matrix{UInt64}}}) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/fastmemlayout.jl:24 [3] PauliFrame(frames::Int64, qubits::Int64, measurements::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:29 [4] _create_pauliframe(ccircuit::Vector{QuantumClifford.CompactifiedGate}; trajectories::Int64) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:193 [5] _pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:207 [6] pftrajectories(circuit::Vector{QuantumClifford.AbstractOperation}; trajectories::Int64, threads::Bool) @ QuantumClifford ~/work/QuantumClifford.jl/QuantumClifford.jl/src/pauli_frames.jl:187 [7] top-level scope @ ecc_example_sim.md:62 [8] eval @ ./boot.jl:385 [inlined] [9] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [10] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [11] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [12] (::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 [13] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [14] with_logger @ ./logging.jl:627 [inlined] [15] 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 [16] 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
Documentation
Process completed with exit code 1.
Julia 1 - t=5 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1 - t=1 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1.9 - t=1 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1.9 - t=5 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1 - t=1 - macos-latest - aarch64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1 - t=1 - windows-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1 - t=1 - macos-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
63 docstrings not included in the manual: QuantumInterface.StateVector QuantumInterface.embed :: Union{Tuple{T}, Tuple{QuantumInterface.CompositeBasis, QuantumInterface.CompositeBasis, Dict{<:Vector{<:Integer}, T}}} where T<:QuantumInterface.AbstractOperator QuantumInterface.embed :: Union{Tuple{T}, Tuple{QuantumInterface.CompositeBasis, QuantumInterface.CompositeBasis, Any, Vector{T}}} where T<:QuantumInterface.AbstractOperator SparseArrays.sparse :: Tuple{QuantumInterface.AbstractOperator} QuantumClifford.ECC.shor_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}} QuantumClifford.ECC.generator QuantumInterface.check_samebases :: Tuple{Any, Any} QuantumInterface.identitysuperoperator QuantumInterface.permutesystems :: Tuple{QuantumInterface.CompositeBasis, Any} QuantumInterface.complement :: Tuple{Any, Any} QuantumClifford.ECC.physical_ECC_circuit LinearAlgebra.norm :: Tuple{QuantumInterface.StateVector} QuantumClifford.ECC.RecursiveReedMuller QuantumInterface.shiftremove :: Tuple{Any, Any} QuantumClifford.ECC.AbstractECCSetup LinearAlgebra.normalize :: Tuple{QuantumInterface.AbstractOperator} LinearAlgebra.normalize :: Tuple{QuantumInterface.StateVector} QuantumClifford.ECC.generator_polynomial QuantumClifford.ECC.generator_polynomial :: Tuple{QuantumClifford.ECC.BCH} LinearAlgebra.ishermitian :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.GenericBasis QuantumInterface.check_sortedindices :: Tuple{Any, Any} QuantumInterface.AbstractSuperOperator QuantumInterface.NLevelBasis QuantumInterface.multiplicable :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumClifford.ECC.hgp :: Tuple{Any, Any} QuantumInterface.basis LinearAlgebra.tr :: Tuple{QuantumInterface.AbstractOperator} QuantumClifford.ECC.ReedMuller QuantumInterface.remove :: Tuple{Any, Any} QuantumInterface.@samebases :: Tuple{Any} QuantumInterface.Basis QuantumClifford.ECC.add_two_qubit_gate_noise :: Tuple{AbstractTwoQubitOperator, Any} LinearAlgebra.normalize! :: Tuple{QuantumInterface.AbstractOperator} LinearAlgebra.normalize! :: Tuple{QuantumInterface.StateVector} QuantumClifford.ECC.naive_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}} QuantumInterface.reduced :: Tuple{QuantumInterface.CompositeBasis, Any} QuantumClifford.ECC.logx_ops :: Tuple{Any} QuantumInterface.equal_shape :: Tuple{Any, Any} QuantumInterface.SpinBasis Base.exp :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.IncompatibleBases QuantumInterface.samebases :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumInterface.directsum :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumClifford.ECC.batchdecode :: Tuple{QuantumClifford.ECC.AbstractSyndromeDecoder, Any} QuantumInterface.ptrace :: Tuple{QuantumInterface.CompositeBasis, Any} QuantumInterface.check_embed_indices :: Tuple{Any} QuantumInterface.FockBasis QuantumClifford.ECC.parity_matrix :: Tuple{QuantumClifford.ECC.AbstractECC} QuantumClifford.ECC.AbstractSyndromeDecoder QuantumInterface.check_indices :: Tuple{Any, Any} QuantumInterface.AbstractOperator QuantumClifford.ECC.BCH QuantumInterface.equal_bases :: Tuple{Any, Any} QuantumInterface.CompositeBasis QuantumClifford.ECC.logz_ops :: Tuple{Any} Base.length :: Tuple{QuantumInterface.Basis} QuantumClifford.ECC.decode QuantumInterface.PauliBasis QuantumInterface.SumBasis QuantumInterface.check_multiplicable :: Tuple{Any, Any} QuantumInterface.identityoperator :: Union{Tuple{S}, Tuple{T}, Tuple{Type{T}, Type{S}, QuantumInterface.Basis, QuantumInterface.Basis}} where {T<:QuantumInterface.AbstractOperator, S} QuantumInterface.variance :: Union{Tuple{BC}, Tuple{B}, Tuple{Any, QuantumInterface.AbstractOperator{B, B}, QuantumInterface.AbstractOperator{BC
Documentation
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/