I want to multiply same matrix using dot product for n times.

   U[n_]:=Apply[Dot,[MatrixExp[-I H ]],{i,0,n}]
  • 1
    $\begingroup$ Why not MatrixExp[-I*H*n] instead of multiplying explicitly? $\endgroup$
    – Roman
    Apr 11, 2021 at 12:19
  • $\begingroup$ That will not give same result. $\endgroup$
    – user68207
    Apr 11, 2021 at 12:21

1 Answer 1


Just as @Roman have mentioned.

H = {{a, b}, {c, d}};
n = 5;
Dot @@ Table[MatrixExp[-I*H], {i, n}] ==MatrixPower[MatrixExp[-I*H], n] == MatrixExp[-I*H*n] // Simplify



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.