Add noise gate #808
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: pull_request
Documentation
25m 10s
Matrix: test
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:
QuantumInterface.check_sortedindices :: Tuple{Any, Any}
QuantumClifford.ECC.shor_syndrome_circuit
QuantumInterface.NLevelBasis
QuantumInterface.SumBasis
QuantumInterface.CompositeBasis
QuantumClifford.ECC.naive_syndrome_circuit
QuantumClifford.ECC.distance
Base.length :: Tuple{QuantumInterface.Basis}
QuantumInterface.variance :: Union{Tuple{BC}, Tuple{B}, Tuple{Any, QuantumInterface.AbstractOperator{B, B}, QuantumInterface.AbstractOperator{BC, BC}}} where {B, BC<:QuantumInterface.CompositeBasis}
QuantumInterface.samebases :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis}
QuantumClifford.ECC.parity_matrix :: Tuple{QuantumClifford.ECC.AbstractECC}
QuantumClifford.ECC.faults_matrix :: Tuple{Stabilizer}
QuantumInterface.shiftremove :: Tuple{Any, Any}
QuantumInterface.IncompatibleBases
QuantumInterface.equal_shape :: Tuple{Any, Any}
LinearAlgebra.norm :: Tuple{QuantumInterface.StateVector}
LinearAlgebra.normalize :: Tuple{QuantumInterface.StateVector}
LinearAlgebra.normalize :: Tuple{QuantumInterface.AbstractOperator}
QuantumInterface.PauliBasis
QuantumInterface.complement :: Tuple{Any, Any}
QuantumClifford.ECC.rate :: Tuple{QuantumClifford.ECC.AbstractECC}
Base.exp :: Tuple{QuantumInterface.AbstractOperator}
LinearAlgebra.tr :: Tuple{QuantumInterface.AbstractOperator}
QuantumClifford.ECC.code_k :: Tuple{QuantumClifford.ECC.AbstractECC}
QuantumInterface.reduced :: Tuple{QuantumInterface.CompositeBasis, Any}
QuantumInterface.check_embed_indices :: Tuple{Any}
QuantumInterface.AbstractOperator
LinearAlgebra.normalize! :: Tuple{QuantumInterface.StateVector}
LinearAlgebra.normalize! :: Tuple{QuantumInterface.AbstractOperator}
QuantumClifford.ECC.naive_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}}
SparseArrays.sparse :: Tuple{QuantumInterface.AbstractOperator}
QuantumInterface.multiplicable :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis}
QuantumInterface.identitysuperoperator
QuantumClifford.ECC.encoding_circuit
QuantumInterface.check_samebases :: 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_n :: Tuple{Any}
QuantumClifford.ECC.code_n
QuantumInterface.ptrace :: Tuple{QuantumInterface.CompositeBasis, Any}
QuantumInterface.check_multiplicable :: Tuple{Any, Any}
QuantumInterface.directsum :: Tuple{QuantumInterface.Basis, QuantumInterface.Basis}
QuantumInterface.remove :: Tuple{Any, Any}
QuantumInterface.equal_bases :: Tuple{Any, Any}
QuantumInterface.StateVector
QuantumInterface.Basis
QuantumInterface.FockBasis
QuantumInterface.basis
QuantumClifford.ECC.code_s :: Tuple{QuantumClifford.ECC.AbstractECC}
QuantumInterface.AbstractSuperOperator
QuantumInterface.check_indices :: Tuple{Any, Any}
LinearAlgebra.ishermitian :: Tuple{QuantumInterface.AbstractOperator}
QuantumClifford.ECC.shor_ancillary_paulimeasurement :: Union{Tuple{PauliOperator}, Tuple{PauliOperator, Any}, Tuple{PauliOperator, Any, Any}}
QuantumInterface.GenericBasis
QuantumInterface.permutesystems :: Tuple{QuantumInterface.CompositeBasis, Any}
QuantumClifford.ECC.logx_ops :: Tuple{QuantumClifford.ECC.AbstractECC}
QuantumClifford.ECC.parity_checks
QuantumClifford.ECC.logz_ops :: Tuple{QuantumClifford.ECC.AbstractECC}
QuantumInterface.@samebases :: Tuple{Any}
QuantumInterface.SpinBasis
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in @docs or @autodocs blocks.
|