I did not got the required result??? error!!!

1 view (last 30 days)
Abu Zar
Abu Zar on 20 Feb 2023
Commented: Jan on 21 Feb 2023
my programme is not upto mark,where i doing mistake help me little.thank you
  4 Comments
Abu Zar
Abu Zar on 21 Feb 2023
please help me to put follow this message in these codes ;
---->Temp0 is a sum from n=0 to n=14. try the following and find the result, please.
for n=0:14
temp0 =temp0+ double(symsum(exp(-0.5*abs(alpha(k))^2)* alpha(k)^n / sqrt(factorial(n)), n, 0, 14)*ket);
end
Thank you
Jan
Jan on 21 Feb 2023
@Abu Zar: Ist there a problem with the posted code? If so, which one?

Sign in to comment.

Answers (0)

Categories

Find more on Quantum Mechanics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!