Refactor Gate
, Operator
definitions
#122
CI.yml
on: pull_request
Documentation
1m 48s
Matrix: test
Annotations
8 errors, 4 warnings, and 1 notice
Julia 1.8 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
|
Julia 1.9 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
|
Julia 1.10 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
|
Documentation:
docs/src/api/gates.md#L14
doctest failure in src/api/gates.md:14-17
```jldoctest z-gate
julia> gate = Z(4)
Z(4)
```
Subexpression:
gate = Z(4)
Evaluated output:
Z()(4)
Expected output:
Z(4)
diff =
Warning: Diff output requires color.
Z(4)Z()(4)
|
Documentation:
docs/src/api/gates.md#L21
doctest failure in src/api/gates.md:21-26
```jldoctest z-gate
julia> Matrix(gate)
2×2 Matrix{ComplexF32}:
1.0+0.0im 0.0+0.0im
0.0+0.0im -1.0+0.0im
```
Subexpression:
Matrix(gate)
Evaluated output:
ERROR: MethodError: no method matching (Matrix)(::Gate{Z, 1})
Closest candidates are:
(Matrix)(!Matched::UndefInitializer, !Matched::Integer, !Matched::Integer)
@ Base baseext.jl:33
(Matrix)(!Matched::ArnoldiMethod.Rotation3{Tc, Ts}, !Matched::Int64) where {Tc, Ts}
@ ArnoldiMethod ~/.julia/packages/ArnoldiMethod/JdEiw/src/schurfact.jl:45
(Matrix)(!Matched::QRPivoted)
@ LinearAlgebra /opt/hostedtoolcache/julia/1.10.2/x64/share/julia/stdlib/v1.10/LinearAlgebra/src/qr.jl:448
...
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
2×2 Matrix{ComplexF32}:
1.0+0.0im 0.0+0.0im
0.0+0.0im -1.0+0.0im
diff =
Warning: Diff output requires color.
2×2 Matrix{ComplexF32}:
1.0+0.0im 0.0+0.0im
0.0+0.0im -1.0+0.0imERROR: MethodError: no method matching (Matrix)(::Gate{Z, 1})
Closest candidates are:
(Matrix)(!Matched::UndefInitializer, !Matched::Integer, !Matched::Integer)
@ Base baseext.jl:33
(Matrix)(!Matched::ArnoldiMethod.Rotation3{Tc, Ts}, !Matched::Int64) where {Tc, Ts}
@ ArnoldiMethod ~/.julia/packages/ArnoldiMethod/JdEiw/src/schurfact.jl:45
(Matrix)(!Matched::QRPivoted)
@ LinearAlgebra /opt/hostedtoolcache/julia/1.10.2/x64/share/julia/stdlib/v1.10/LinearAlgebra/src/qr.jl:448
...
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
docs/src/api/gates.md#L30
doctest failure in src/api/gates.md:30-35
```jldoctest z-gate
julia> Matrix{Int}(gate)
2×2 Matrix{Int64}:
1 0
0 -1
```
Subexpression:
Matrix{Int}(gate)
Evaluated output:
ERROR: MethodError: no method matching Matrix{Int64}(::Gate{Z, 1})
Closest candidates are:
Matrix{T}(!Matched::UndefInitializer, !Matched::Tuple{Int64, Int64}) where T
@ Core boot.jl:487
Matrix{T}(!Matched::UndefInitializer, !Matched::Int64, !Matched::Int64) where T
@ Core boot.jl:479
Array{T, N}(!Matched::UndefInitializer, !Matched::Tuple{Vararg{Int64, N}}) where {T, N}
@ Core boot.jl:489
...
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
2×2 Matrix{Int64}:
1 0
0 -1
diff =
Warning: Diff output requires color.
2×2 Matrix{Int64}:
1 0
0 -1ERROR: MethodError: no method matching Matrix{Int64}(::Gate{Z, 1})
Closest candidates are:
Matrix{T}(!Matched::UndefInitializer, !Matched::Tuple{Int64, Int64}) where T
@ Core boot.jl:487
Matrix{T}(!Matched::UndefInitializer, !Matched::Int64, !Matched::Int64) where T
@ Core boot.jl:479
Array{T, N}(!Matched::UndefInitializer, !Matched::Tuple{Vararg{Int64, N}}) where {T, N}
@ Core boot.jl:489
...
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
docs/src/api/gates.md#L39
doctest failure in src/api/gates.md:39-44
```jldoctest z-gate
julia> Diagonal{Float32}(gate)
2×2 Diagonal{Float32, Vector{Float32}}:
1.0 ⋅
⋅ -1.0
```
Subexpression:
Diagonal{Float32}(gate)
Evaluated output:
ERROR: MethodError: no method matching (Diagonal{Float32, V} where V<:AbstractVector{Float32})(::Gate{Z, 1})
Closest candidates are:
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::UndefInitializer, !Matched::Integer) where T
@ LinearAlgebra /opt/hostedtoolcache/julia/1.10.2/x64/share/julia/stdlib/v1.10/LinearAlgebra/src/diagonal.jl:127
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::Td) where T
@ Quac ~/work/Quac.jl/Quac.jl/src/Array.jl:156
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::Quac.I) where T
@ Quac ~/work/Quac.jl/Quac.jl/src/Array.jl:151
...
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
2×2 Diagonal{Float32, Vector{Float32}}:
1.0 ⋅
⋅ -1.0
diff =
Warning: Diff output requires color.
2×2 Diagonal{Float32, Vector{Float32}}:
1.0 ⋅
⋅ -1.0ERROR: MethodError: no method matching (Diagonal{Float32, V} where V<:AbstractVector{Float32})(::Gate{Z, 1})
Closest candidates are:
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::UndefInitializer, !Matched::Integer) where T
@ LinearAlgebra /opt/hostedtoolcache/julia/1.10.2/x64/share/julia/stdlib/v1.10/LinearAlgebra/src/diagonal.jl:127
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::Td) where T
@ Quac ~/work/Quac.jl/Quac.jl/src/Array.jl:156
(Diagonal{T, V} where V<:AbstractVector{T})(!Matched::Quac.I) where T
@ Quac ~/work/Quac.jl/Quac.jl/src/Array.jl:151
...
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation
Process completed with exit code 1.
|
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|
Julia 1.8 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Julia 1.9 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Julia 1.10 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|