(git:08825b9)
Loading...
Searching...
No Matches
quadratic_pseudospectrum::quadratic_solve Interface Reference

Public Member Functions

subroutine quadratic_solve_real (n, shift, weights, nstates, iterative, max_subspace, max_iter, tolerance, apply, solve, result, status)
 Solve sum_j w_j^2 A_j S^-1 A_j c = lambda S c without squaring sparse operators.
subroutine quadratic_solve_complex (n, shift, weights, nstates, iterative, max_subspace, max_iter, tolerance, apply, solve, result, status, adjoint, unitary)
 Solve sum_j w_j^2 (A_j-z_j S)^dagger S^-1 (A_j-z_j S) c = lambda S c.

Detailed Description

Definition at line 32 of file quadratic_pseudospectrum.F.

Member Function/Subroutine Documentation

◆ quadratic_solve_real()

subroutine quadratic_pseudospectrum::quadratic_solve::quadratic_solve_real ( integer, intent(in) n,
real(dp), dimension(:), intent(in) shift,
real(dp), dimension(:), intent(in) weights,
integer, intent(in) nstates,
logical, intent(in) iterative,
integer, intent(in) max_subspace,
integer, intent(in) max_iter,
real(dp), intent(in) tolerance,
procedure(operator_apply) apply,
procedure(metric_solve) solve,
type(quadratic_result_type), intent(out) result,
integer, intent(out) status )

Solve sum_j w_j^2 A_j S^-1 A_j c = lambda S c without squaring sparse operators.

Parameters
nAO/spinor dimension
shiftQuery values for the observables
weightsNonnegative observable scales
nstatesNumber of lowest eigenpairs
iterativeWhether to use a bounded restarted block Ritz space
max_subspaceMaximum trial-space size
max_iterMaximum Ritz iterations
toleranceRelative S^-1 eigenpair residual threshold
applyApply covariant observables or metric (operator zero)
solveApply inverse metric using already validated factors
RESULTNormalized eigenstates and separated physical residuals
status0 success, 1 unconverged, -1 invalid input, -4 numerical failure

Definition at line 321 of file quadratic_pseudospectrum.F.

◆ quadratic_solve_complex()

subroutine quadratic_pseudospectrum::quadratic_solve::quadratic_solve_complex ( integer, intent(in) n,
complex(dp), dimension(:), intent(in) shift,
real(dp), dimension(:), intent(in) weights,
integer, intent(in) nstates,
logical, intent(in) iterative,
integer, intent(in) max_subspace,
integer, intent(in) max_iter,
real(dp), intent(in) tolerance,
procedure(operator_apply) apply,
procedure(metric_solve) solve,
type(quadratic_result_type), intent(out) result,
integer, intent(out) status,
procedure(operator_apply) adjoint,
logical, dimension(:), intent(in), optional unitary )

Solve sum_j w_j^2 (A_j-z_j S)^dagger S^-1 (A_j-z_j S) c = lambda S c.

Parameters
nAO/spinor dimension
shiftComplex queries for arbitrary, possibly nonnormal operators
weightsNonnegative residual scales
nstatesNumber of lowest eigenpairs
iterativeWhether to use a bounded restarted block Ritz space
max_subspaceMaximum trial-space size
max_iterMaximum Ritz iterations
toleranceRelative S^-1 eigenpair residual threshold
applyApply covariant operators or the positive metric (operator zero)
solveSolve with the already validated positive metric
RESULTEigenpairs, residuals and complex expectations; means holds their real parts
status0 success, 1 unconverged, -1 input, -4 numerical failure
adjointApply A_j^dagger, not the coefficient-space S-adjoint; positive operator indices
unitaryTrue for compressions of continuum unitary operators; retain full norms and projection leakage

Definition at line 356 of file quadratic_pseudospectrum.F.


The documentation for this interface was generated from the following file: