Skip to content

Commit

Permalink
Merge branch 'unitary_dft_symmetric_group' of https://github.com/jack…
Browse files Browse the repository at this point in the history
…sonwalters/sage into unitary_dft_symmetric_group
  • Loading branch information
jacksonwalters committed Jan 15, 2025
2 parents 2541d55 + d09255a commit 590321e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/symmetric_group_representations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ def augmented_matrix(g):
total_system = sum((augmented_matrix(g) for g in G), [])
null_space = matrix(F, total_system).right_kernel()
U = matrix(F, d_rho, d_rho, null_space.basis()[0])
return U.hermitian_decomposition()
return U.hermitian_decomposition().H

def _representation_matrix_uncached(self, permutation):
r"""
Expand All @@ -1145,7 +1145,7 @@ def _representation_matrix_uncached(self, permutation):
assert self._ring.characteristic() > 0
rho = self._specht.representation_matrix
A = self._unitary_change_basis_matrix
return A.H * rho(permutation) * A.H.inverse()
return A * rho(permutation) * A.inverse()


class UnitaryRepresentations(SymmetricGroupRepresentations_class):
Expand Down

0 comments on commit 590321e

Please sign in to comment.