Skip to content

CI passing + package registration cleanup #10

CI passing + package registration cleanup

CI passing + package registration cleanup #10

Triggered via pull request November 22, 2024 11:18
Status Failure
Total duration 3m 8s
Artifacts

CI.yml

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

Annotations

12 errors and 1 notice
Julia 1.6 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Documentation: src/quantum_systems.jl#L62
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_systems.jl:62-68 ```jldoctest julia> H_drift = GATES[:Z] julia> H_drives = [GATES[:X], GATES[:Y]] julia> system = QuantumSystem(H_drift, H_drives) julia> a = randn(system.n_drives) ``` Subexpression: system = QuantumSystem(H_drift, H_drives) Evaluated output: ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: H_drift = GATES[:Z] diff = Warning: Diff output requires color. H_drift = GATES[:Z]ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/quantum_systems.jl#L62
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_systems.jl:62-68 ```jldoctest julia> H_drift = GATES[:Z] julia> H_drives = [GATES[:X], GATES[:Y]] julia> system = QuantumSystem(H_drift, H_drives) julia> a = randn(system.n_drives) ``` Subexpression: a = randn(system.n_drives) Evaluated output: ERROR: UndefVarError: `system` not defined in `Main` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1 Expected output: H_drives = [GATES[:X], GATES[:Y]] diff = Warning: Diff output requires color. H_drives = [GATES[:X], GATES[:Y]]ERROR: UndefVarError: `system` not defined in `Main` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1
Documentation: src/quantum_systems.jl#L72
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_systems.jl:72-77 ```jldoctest julia> H_drift = GATES[:Z] julia> H_drives = [GATES[:X], GATES[:Y]] julia> dissipation_operators = [GATES[:Z], annihilate(2)] julia> system = QuantumSystem(H_drift, H_drives, dissipation_operators) ``` Subexpression: system = QuantumSystem(H_drift, H_drives, dissipation_operators) Evaluated output: ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: H_drift = GATES[:Z] diff = Warning: Diff output requires color. H_drift = GATES[:Z]ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/quantum_systems.jl#L80
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_systems.jl:80-84 ```jldoctest julia> H(a) = GATES[:Z] + a[1] * GATES[:X] + a[2] * GATES[:Y] julia> system = QuantumSystem(H, 2) ``` Subexpression: system = QuantumSystem(H, 2) Evaluated output: ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. ERROR: UndefVarError: `QuantumSystem` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/isomorphisms.jl#L106
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/isomorphisms.jl:106-122 ```jldoctest julia> U = [1 5; 2 6] + im * [3 7; 4 8] 2×2 Matrix{Complex{Int64}}: 1+3im 5+7im 2+4im 6+8im julia> operator_to_iso_vec(U) 8-element Vector{Int64}: 1 2 3 4 5 6 7 8 ``` Subexpression: operator_to_iso_vec(U) Evaluated output: ERROR: UndefVarError: `operator_to_iso_vec` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: 8-element Vector{Int64}: 1 2 3 4 5 6 7 8 diff = Warning: Diff output requires color. 8-element Vector{Int64}: 1 2 3 4 5 6 7 8ERROR: UndefVarError: `operator_to_iso_vec` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/composite_quantum_systems.jl#L29
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/composite_quantum_systems.jl:29-34 ```jldoctest julia> subspace_levels = [3, 4] julia> lift(create(3) + annihilate(3), 1, subspace_levels) Create the IYII operator by specifying the number of qubits ``` Subexpression: lift(create(3) + annihilate(3), 1, subspace_levels) Evaluated output: ERROR: UndefVarError: `lift` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: subspace_levels = [3, 4] diff = Warning: Diff output requires color. subspace_levels = [3, 4]ERROR: UndefVarError: `lift` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/quantum_system_utils.jl#L262
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_system_utils.jl:262-270 ```jldoctest julia> sys = QuantumSystem(PAULIS[:Z], [PAULIS[:X]]) julia> is_reachable(GATES[:Y], sys) true julia> sys = QuantumSystem([PAULIS[:X]]) julia> is_reachable(GATES[:Y], sys) false ``` Subexpression: is_reachable(GATES[:Y], sys) Evaluated output: ERROR: UndefVarError: `is_reachable` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: sys = QuantumSystem(PAULIS[:Z], [PAULIS[:X]]) diff = Warning: Diff output requires color. sys = QuantumSystem(PAULIS[:Z], [PAULIS[:X]])ERROR: UndefVarError: `is_reachable` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/quantum_system_utils.jl#L262
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/quantum_system_utils.jl:262-270 ```jldoctest julia> sys = QuantumSystem(PAULIS[:Z], [PAULIS[:X]]) julia> is_reachable(GATES[:Y], sys) true julia> sys = QuantumSystem([PAULIS[:X]]) julia> is_reachable(GATES[:Y], sys) false ``` Subexpression: is_reachable(GATES[:Y], sys) Evaluated output: ERROR: UndefVarError: `is_reachable` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: true diff = Warning: Diff output requires color. trueERROR: UndefVarError: `is_reachable` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/embedded_operators.jl#L375
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/embedded_operators.jl:375-392 ```jldoctest julia> subspaces = [1:2, 1:2] julia> subsystem_levels = [3, 3] julia> get_leakage_indices(subspaces, subsystem_levels) 5-element Vector{Int64}: 3 6 7 8 9 julia> subspace = 1:2 julia> levels = 3 julia> get_leakage_indices(subspace, levels) 1-element Vector{Int64}: 3 ``` Subexpression: get_leakage_indices(subspaces, subsystem_levels) Evaluated output: ERROR: UndefVarError: `get_leakage_indices` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. ERROR: UndefVarError: `get_leakage_indices` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation: src/embedded_operators.jl#L375
doctest failure in ~/work/PiccoloQuantumObjects.jl/PiccoloQuantumObjects.jl/src/embedded_operators.jl:375-392 ```jldoctest julia> subspaces = [1:2, 1:2] julia> subsystem_levels = [3, 3] julia> get_leakage_indices(subspaces, subsystem_levels) 5-element Vector{Int64}: 3 6 7 8 9 julia> subspace = 1:2 julia> levels = 3 julia> get_leakage_indices(subspace, levels) 1-element Vector{Int64}: 3 ``` Subexpression: get_leakage_indices(subspace, levels) Evaluated output: ERROR: UndefVarError: `get_leakage_indices` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1 Expected output: subspaces = [1:2, 1:2] diff = Warning: Diff output requires color. subspaces = [1:2, 1:2]ERROR: UndefVarError: `get_leakage_indices` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PiccoloQuantumObjects. Stacktrace: [1] top-level scope @ none:1
Documentation
Process completed with exit code 1.
Julia 1.6 - ubuntu-latest - x64 - pull_request
[setup-julia] If you are testing 1.6 as a Long Term Support (lts) version, consider using the new "lts" version specifier instead of "1.6" explicitly, which will automatically resolve the current lts.