Skip to content

Commit d182ec9

Browse files
committed
🏋🏼 Add Lanczos benchmark
1 parent aaa26ee commit d182ec9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

benchmarks/correlations_and_spectrum.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ function benchmark_correlations_and_spectrum!(SUITE)
1919

2020
PI_solver = PseudoInverse()
2121

22+
L_solver = Lanczos()
23+
2224
SUITE["Correlations and Spectrum"]["FFT Correlation"] =
2325
@benchmarkable _calculate_fft_spectrum($H, $t_l, $c_ops, $(a'), $a)
2426

@@ -28,5 +30,8 @@ function benchmark_correlations_and_spectrum!(SUITE)
2830
SUITE["Correlations and Spectrum"]["Spectrum"]["Pseudo Inverse"] =
2931
@benchmarkable spectrum($H, $ω_l, $c_ops, $(a'), $a, solver = $PI_solver)
3032

33+
SUITE["Correlations and Spectrum"]["Spectrum"]["Lanczos"] =
34+
@benchmarkable spectrum($H, $ω_l, $c_ops, $(a'), $a, solver = $L_solver)
35+
3136
return nothing
3237
end

0 commit comments

Comments
 (0)