checkUnitaryInput(unitaryMatrix, structureConstant, symmetricConstant, dimension);
this.unitaryMatrix = unitaryMatrix.getName();
final IndexType[] types = extractTypesFromMatrix(unitaryMatrix);
this.matrixType = types[1];
ChangeIndicesTypesAndTensorNames tokenTransformer = new ChangeIndicesTypesAndTensorNames(new TypesAndNamesTransformer() {
@Override
public IndexType newType(IndexType oldType, NameAndStructureOfIndices old) {
if (oldType == IndexType.LatinLower)
return types[0];
if (oldType == IndexType.Matrix1)