Bath auxiliary routines

Description

Implements a number of auxiliary procedures used in the bath handling

Quick access

Routines:

is_diagonal(), is_identity()

Used modules

External modules

Subroutines and functions

interface  ed_bath_aux/is_identity(mlso, mnnn)

This subroutine checks if a matrix \(\hat{O}\) in the basis of the replica or general baths is the identity.

The input matrix can have different shapes:
Parameters:
Result:

flag [logical]

interface  ed_bath_aux/is_diagonal(mlso, mnnn)

This subroutine checks if a matrix \(\hat{O}\) in the basis of the replica or general baths is diagonal.

The input matrix can have different shapes:
Parameters:
Result:

flag [logical]