Basis.get_transformation_to

Basis.get_transformation_to(other)[source]

Get transformation matrix to another basis as a Tensor with variance (-1, 1).

Parameters

other (btensor.basis.Basis) – Second basis.

Returns

Transformation matrix with variance (-1, 1).

Return type

btensor.tensor.Tensor