Skip to content

Refactor interfaces built around alternating update #242

Refactor interfaces built around alternating update

Refactor interfaces built around alternating update #242

Triggered via pull request January 16, 2024 01:15
Status Failure
Total duration 1m 12s
Artifacts

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
format
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
format
Process completed with exit code 1.
format: src/ITensorNetworks.jl#L109
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/ITensorNetworks.jl:109:-include(joinpath("solvers","eigsolve.jl")) src/ITensorNetworks.jl:110:-include(joinpath("solvers","exponentiate.jl")) src/ITensorNetworks.jl:109:+include(joinpath("solvers", "eigsolve.jl")) src/ITensorNetworks.jl:110:+include(joinpath("solvers", "exponentiate.jl"))
format: src/ITensorNetworks.jl#L112
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/ITensorNetworks.jl:112:-include(joinpath("solvers","applyexp.jl")) src/ITensorNetworks.jl:113:-include(joinpath("solvers","dmrg_x_solver.jl")) src/ITensorNetworks.jl:112:+include(joinpath("solvers", "applyexp.jl")) src/ITensorNetworks.jl:113:+include(joinpath("solvers", "dmrg_x_solver.jl"))
format: src/solvers/applyexp.jl#L2
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/applyexp.jl:2:- function solver( src/solvers/applyexp.jl:3:- init; src/solvers/applyexp.jl:4:- psi_ref!, src/solvers/applyexp.jl:5:- PH_ref!, src/solvers/applyexp.jl:6:- region, src/solvers/applyexp.jl:7:- sweep_regions, src/solvers/applyexp.jl:8:- sweep_step, src/solvers/applyexp.jl:9:- solver_krylovdim=30, src/solvers/applyexp.jl:10:- solver_outputlevel=0, src/solvers/applyexp.jl:11:- solver_tol=1E-8, src/solvers/applyexp.jl:12:- substep, src/solvers/applyexp.jl:13:- time_step, src/solvers/applyexp.jl:14:- normalize, src/solvers/applyexp.jl:15:- ) src/solvers/applyexp.jl:16:- H=PH_ref![] src/solvers/applyexp.jl:17:- #applyexp tol is absolute, compute from tol_per_unit_time: src/solvers/applyexp.jl:18:- tol = abs(time_step) * tol_per_unit_time src/solvers/applyexp.jl:19:- psi, exp_info = applyexp( src/solvers/applyexp.jl:20:- H, time_step, init; tol, maxiter=solver_krylovdim, outputlevel=solver_outputlevel src/solvers/applyexp.jl:21:- ) src/solvers/applyexp.jl:22:- return psi, (; info=exp_info) src/solvers/applyexp.jl:23:- end src/solvers/applyexp.jl:24:- return solver src/solvers/applyexp.jl:2:+ function solver( src/solvers/applyexp.jl:3:+ init; src/solvers/applyexp.jl:4:+ psi_ref!, src/solvers/applyexp.jl:5:+ PH_ref!, src/solvers/applyexp.jl:6:+ region, src/solvers/applyexp.jl:7:+ sweep_regions, src/solvers/applyexp.jl:8:+ sweep_step, src/solvers/applyexp.jl:9:+ solver_krylovdim=30, src/solvers/applyexp.jl:10:+ solver_outputlevel=0, src/solvers/applyexp.jl:11:+ solver_tol=1E-8, src/solvers/applyexp.jl:12:+ substep, src/solvers/applyexp.jl:13:+ time_step, src/solvers/applyexp.jl:14:+ normalize, src/solvers/applyexp.jl:15:+ ) src/solvers/applyexp.jl:16:+ H = PH_ref![] src/solvers/applyexp.jl:17:+ #applyexp tol is absolute, compute from tol_per_unit_time: src/solvers/applyexp.jl:18:+ tol = abs(time_step) * tol_per_unit_time src/solvers/applyexp.jl:19:+ psi, exp_info = applyexp( src/solvers/applyexp.jl:20:+ H, time_step, init; tol, maxiter=solver_krylovdim, outputlevel=solver_outputlevel src/solvers/applyexp.jl:21:+ ) src/solvers/applyexp.jl:22:+ return psi, (; info=exp_info) src/solvers/applyexp.jl:23:+ end src/solvers/applyexp.jl:24:+ return solver
format: src/solvers/applyexp.jl#L26
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/applyexp.jl:26:- src/solvers/applyexp.jl:27:-
format: src/solvers/dmrg_x_solver.jl#L2
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/dmrg_x_solver.jl:2:- init; src/solvers/dmrg_x_solver.jl:3:- psi_ref!, src/solvers/dmrg_x_solver.jl:4:- PH_ref!, src/solvers/dmrg_x_solver.jl:5:- normalize=nothing, src/solvers/dmrg_x_solver.jl:6:- region, src/solvers/dmrg_x_solver.jl:7:- sweep_regions, src/solvers/dmrg_x_solver.jl:8:- sweep_step, src/solvers/dmrg_x_solver.jl:9:- half_sweep, src/solvers/dmrg_x_solver.jl:10:- step_kwargs... src/solvers/dmrg_x_solver.jl:11:- ) src/solvers/dmrg_x_solver.jl:2:+ init; src/solvers/dmrg_x_solver.jl:3:+ psi_ref!, src/solvers/dmrg_x_solver.jl:4:+ PH_ref!, src/solvers/dmrg_x_solver.jl:5:+ normalize=nothing, src/solvers/dmrg_x_solver.jl:6:+ region, src/solvers/dmrg_x_solver.jl:7:+ sweep_regions, src/solvers/dmrg_x_solver.jl:8:+ sweep_step, src/solvers/dmrg_x_solver.jl:9:+ half_sweep, src/solvers/dmrg_x_solver.jl:10:+ step_kwargs..., src/solvers/dmrg_x_solver.jl:11:+)
format: src/solvers/dmrg_x_solver.jl#L13
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/dmrg_x_solver.jl:13:- D, U = eigen(H; ishermitian=true) src/solvers/dmrg_x_solver.jl:13:+ D, U = eigen(H; ishermitian=true)
format: src/solvers/dmrg_x_solver.jl#L19
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/dmrg_x_solver.jl:19:-end src/solvers/dmrg_x_solver.jl:19:+end
format: src/solvers/eigsolve.jl#L3
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:3:- solver_which_eigenvalue=:SR, #TODO: settle on pattern to pass solver kwargs src/solvers/eigsolve.jl:4:- ishermitian=true, src/solvers/eigsolve.jl:5:- solver_tol=1e-14, src/solvers/eigsolve.jl:6:- solver_krylovdim=3, src/solvers/eigsolve.jl:7:- solver_maxiter=1, src/solvers/eigsolve.jl:8:- solver_verbosity=0, src/solvers/eigsolve.jl:3:+ solver_which_eigenvalue=:SR, #TODO: settle on pattern to pass solver kwargs src/solvers/eigsolve.jl:4:+ ishermitian=true, src/solvers/eigsolve.jl:5:+ solver_tol=1e-14, src/solvers/eigsolve.jl:6:+ solver_krylovdim=3, src/solvers/eigsolve.jl:7:+ solver_maxiter=1, src/solvers/eigsolve.jl:8:+ solver_verbosity=0, src/solvers/eigsolve.jl:9:+) src/solvers/eigsolve.jl:10:+ function solver( src/solvers/eigsolve.jl:11:+ init; src/solvers/eigsolve.jl:12:+ psi_ref!, src/solvers/eigsolve.jl:13:+ PH_ref!, src/solvers/eigsolve.jl:14:+ normalize, src/solvers/eigsolve.jl:15:+ region, src/solvers/eigsolve.jl:16:+ sweep_regions, src/solvers/eigsolve.jl:17:+ sweep_step, src/solvers/eigsolve.jl:18:+ sweep_kwargs..., src/solvers/eigsolve.jl:19:+ # slurp solver_kwargs? #TODO: homogenize how the solver kwargs are passed
format: src/solvers/eigsolve.jl#L10
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:10:- src/solvers/eigsolve.jl:11:- function solver( src/solvers/eigsolve.jl:12:- init; src/solvers/eigsolve.jl:13:- psi_ref!, src/solvers/eigsolve.jl:14:- PH_ref!, src/solvers/eigsolve.jl:15:- normalize, src/solvers/eigsolve.jl:16:- region, src/solvers/eigsolve.jl:17:- sweep_regions, src/solvers/eigsolve.jl:18:- sweep_step, src/solvers/eigsolve.jl:19:- sweep_kwargs... src/solvers/eigsolve.jl:20:- # slurp solver_kwargs? #TODO: homogenize how the solver kwargs are passed src/solvers/eigsolve.jl:21:- ) src/solvers/eigsolve.jl:22:- howmany = 1 src/solvers/eigsolve.jl:23:- which = solver_which_eigenvalue src/solvers/eigsolve.jl:24:- vals, vecs, info = eigsolve( src/solvers/eigsolve.jl:25:- PH_ref![], src/solvers/eigsolve.jl:26:- init, src/solvers/eigsolve.jl:27:- howmany, src/solvers/eigsolve.jl:28:- which; src/solvers/eigsolve.jl:29:- ishermitian, src/solvers/eigsolve.jl:30:- tol=solver_tol, src/solvers/eigsolve.jl:31:- krylovdim=solver_krylovdim, src/solvers/eigsolve.jl:32:- maxiter=solver_maxiter, src/solvers/eigsolve.jl:33:- verbosity=solver_verbosity, src/solvers/eigsolve.jl:34:- ) src/solvers/eigsolve.jl:35:- phi = vecs[1] src/solvers/eigsolve.jl:36:- return phi, (; solver_info=info, energies=vals) src/solvers/eigsolve.jl:37:- end src/solvers/eigsolve.jl:38:- return solver src/solvers/eigsolve.jl:21:+ howmany = 1 src/solvers/eigsolve.jl:22:+ which = solver_which_eigenvalue src/solvers/eigsolve.jl:23:+ vals, vecs, info = eigsolve( src/solvers/eigsolve.jl:24:+ PH_ref![], src/solvers/eigsolve.jl:25:+ init, src/solvers/eigsolve.jl:26:+ howmany, src/solvers/eigsolve.jl:27:+ which; src/solvers/eigsolve.jl:28:+ ishermitian, src/solvers/eigsolve.jl:29:+ tol=solver_tol, src/solvers/eigsolve.jl:30:+ krylovdim=solver_krylovdim, src/solvers/eigsolve.jl:31:+ maxiter=solver_maxiter, src/solvers/eigsolve.jl:32:+ verbosity=solver_verbosity, src/solvers/eigsolve.jl:33:+ ) src/solvers/eigsolve.jl:34:+ phi = vecs[1] src/solvers/eigsolve.jl:35:+ return phi, (; solver_info=info, energies=vals)
format: src/solvers/eigsolve.jl#L40
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/solvers/eigsolve.jl:40:- src/solvers/eigsolve.jl:37:+ return solver src/solvers/eigsolve.jl:38:+end