Class MEAL::CongruenceTransformation

class CongruenceTransformation : public MEAL::Transformation<Complex2>

A congruence transformation, \(\rho^\prime=J\rho J^\dagger\).

This class models the transformation of the matrix, \( \rho \) by a congruence transformation in \( J \). The partial derivatives of the output, \( \rho^\prime \), are computed using the product rule and the partial derivatives of \( \rho \) and \( J \).

Public Functions

virtual void set_transformation(Complex2 *xform)

Set the transformation, \( J \).

virtual Complex2 *get_transformation()

Get the transformation, \( J \).

virtual std::string get_name() const

Return the name of the class.