Skip to content

Optimize inner gpu type #810

Optimize inner gpu type

Optimize inner gpu type #810

Triggered via pull request August 31, 2023 16:30
Status Failure
Total duration 24m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

3 errors and 1 warning
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L32
failed to run `@example` block in src/ecc_example_sim.md:34-39 ```@example 1 circuit = [ecirc..., scirc...] nframes = 4 frames = pftrajectories(circuit; trajectories=nframes) # run the sims pfmeasurements(frames) # extract the measurements ``` value = MethodError: Cannot `convert` an object of type Vector{QuantumClifford.AbstractOperation} to an object of type Union{SumTypes.Variant{Symbol("QuantumClifford.sHadamard"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sId1"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sInvPhase"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sPhase"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sX"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sY"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZ"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sCNOT"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sCPHASE"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sSWAP"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.SingleQubitOperator"), (:_1, :_2, :_3, :_4, :_5, :_6, :_7), Tuple{Int64, Vararg{Bool, 6}}}, SumTypes.Variant{Symbol("QuantumClifford.NoiseOpAll"), (:_1,), Tuple{QuantumClifford.AbstractNoise}}, SumTypes.Variant{Symbol("QuantumClifford.BellMeasurement"), (:_1, :_2), Tuple{Vector{Union{sMX, sMY, sMZ}}, Bool}}, SumTypes.Variant{Symbol("QuantumClifford.NoiseOp"), (:_1, :_2), Tuple{QuantumClifford.AbstractNoise, AbstractVector{Int64}}}, SumTypes.Variant{Symbol("QuantumClifford.VerifyOp"), (:_1, :_2), Tuple{Stabilizer, AbstractVector{Int64}}}, SumTypes.Variant{Symbol("QuantumClifford.NoisyGate"), (:_1, :_2), Tuple{QuantumClifford.AbstractOperation, QuantumClifford.AbstractNoise}}} Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base.jl:64
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L32
failed to run `@example` block in src/ecc_example_sim.md:57-60 ```@example 1 frames = pftrajectories(fullcircuit; trajectories=nframes) pfmeasurements(frames) ``` value = MethodError: Cannot `convert` an object of type Vector{QuantumClifford.AbstractOperation} to an object of type Union{SumTypes.Variant{Symbol("QuantumClifford.sHadamard"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sId1"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sInvPhase"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sPhase"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sX"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sY"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZ"), (:_1,), Tuple{Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sCNOT"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sCPHASE"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sSWAP"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sXCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sYCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sZCZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRX"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRY"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.sMRZ"), (:_1, :_2), Tuple{Int64, Int64}}, SumTypes.Variant{Symbol("QuantumClifford.SingleQubitOperator"), (:_1, :_2, :_3, :_4, :_5, :_6, :_7), Tuple{Int64, Vararg{Bool, 6}}}, SumTypes.Variant{Symbol("QuantumClifford.NoiseOpAll"), (:_1,), Tuple{QuantumClifford.AbstractNoise}}, SumTypes.Variant{Symbol("QuantumClifford.BellMeasurement"), (:_1, :_2), Tuple{Vector{Union{sMX, sMY, sMZ}}, Bool}}, SumTypes.Variant{Symbol("QuantumClifford.NoiseOp"), (:_1, :_2), Tuple{QuantumClifford.AbstractNoise, AbstractVector{Int64}}}, SumTypes.Variant{Symbol("QuantumClifford.VerifyOp"), (:_1, :_2), Tuple{Stabilizer, AbstractVector{Int64}}}, SumTypes.Variant{Symbol("QuantumClifford.NoisyGate"), (:_1, :_2), Tuple{QuantumClifford.AbstractOperation, QuantumClifford.AbstractNoise}}} Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base.jl:64
Documentation
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
59 docstrings not included in the manual: QuantumClifford.ECC.code_n :: Tuple{Any} QuantumClifford.ECC.code_n QuantumInterface.basis QuantumInterface.check_sortedindices :: Tuple{Any, Any} QuantumInterface.Basis QuantumInterface.GenericBasis QuantumClifford.ECC.parity_matrix :: Tuple{QuantumClifford.ECC.AbstractECC} QuantumInterface.ptrace :: Tuple{QuantumInterface.CompositeBasis, Any} Base.length :: Tuple{QuantumInterface.Basis} QuantumInterface.equal_shape :: Tuple{Any, Any} LinearAlgebra.normalize :: Tuple{QuantumInterface.StateVector} LinearAlgebra.normalize :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.check_samebases :: Tuple{Any, Any} QuantumClifford.ECC.faults_matrix :: Tuple{Stabilizer} QuantumInterface.samebases :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumClifford.ECC.rate :: Tuple{QuantumClifford.ECC.AbstractECC} QuantumClifford.ECC.encoding_circuit QuantumInterface.multiplicable :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumClifford.ECC.code_s :: Tuple{QuantumClifford.ECC.AbstractECC} Base.exp :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.permutesystems :: Tuple{QuantumInterface.CompositeBasis, Any} QuantumClifford.ECC.parity_checks QuantumInterface.SumBasis QuantumInterface.remove :: Tuple{Any, Any} QuantumClifford.ECC.naive_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}} QuantumInterface.AbstractOperator QuantumInterface.IncompatibleBases QuantumInterface.reduced :: Tuple{QuantumInterface.CompositeBasis, Any} QuantumInterface.identitysuperoperator QuantumInterface.PauliBasis QuantumInterface.check_multiplicable :: Tuple{Any, Any} QuantumInterface.variance :: Union{Tuple{BC}, Tuple{B}, Tuple{Any, QuantumInterface.AbstractOperator{B, B}, QuantumInterface.AbstractOperator{BC, BC}}} where {B, BC<:QuantumInterface.CompositeBasis} QuantumClifford.ECC.logx_ops :: Tuple{QuantumClifford.ECC.AbstractECC} LinearAlgebra.ishermitian :: Tuple{QuantumInterface.AbstractOperator} QuantumClifford.ECC.naive_syndrome_circuit LinearAlgebra.normalize! :: Tuple{QuantumInterface.StateVector} LinearAlgebra.normalize! :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.@samebases :: Tuple{Any} SparseArrays.sparse :: Tuple{QuantumInterface.AbstractOperator} QuantumInterface.equal_bases :: Tuple{Any, Any} QuantumInterface.directsum :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis} QuantumInterface.CompositeBasis QuantumInterface.FockBasis LinearAlgebra.norm :: Tuple{QuantumInterface.StateVector} QuantumInterface.AbstractSuperOperator QuantumClifford.ECC.distance QuantumClifford.ECC.logz_ops :: Tuple{QuantumClifford.ECC.AbstractECC} QuantumInterface.StateVector QuantumInterface.complement :: Tuple{Any, Any} LinearAlgebra.tr :: Tuple{QuantumInterface.AbstractOperator} QuantumClifford.ECC.shor_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}} QuantumInterface.check_embed_indices :: Tuple{Any} QuantumInterface.shiftremove :: Tuple{Any, Any} QuantumInterface.identityoperator :: Union{Tuple{S}, Tuple{T}, Tuple{Type{T}, Type{S}, QuantumInterface.Basis, QuantumInterface.Basis}} where {T<:QuantumInterface.AbstractOperator, S} QuantumClifford.ECC.code_k :: Tuple{QuantumClifford.ECC.AbstractECC} QuantumInterface.check_indices :: Tuple{Any, Any} QuantumClifford.ECC.shor_syndrome_circuit QuantumInterface.NLevelBasis QuantumInterface.SpinBasis These are docstrings in the checked modules (configured with the modules keyword) that are not included in @docs or @autodocs blocks.