Abstract
A quantum algorithm for computing the determinant of a unitary matrix is given. The algorithm requires no preparation of eigenstates of and estimates the phase of the determinant to binary digits accuracy with operations and controlled applications of with . For an orthogonal matrix the algorithm can determine with certainty the sign of the determinant using operations and controlled applications of . An extension of the algorithm to contractions is discussed.