Codes for coherent state function?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abu Zar
el 13 de En. de 2023
Comentada: Abu Zar
el 11 de Feb. de 2023
Summation n=0 to10 exp-abs(alpha)^2*alpha^n/sqrtfactorial(n)
0 comentarios
Respuesta aceptada
Walter Roberson
el 13 de En. de 2023
syms alpha n
result = symsum(exp(-abs(alpha)^2 * alpha^n / sqrt(factorial(n)) ), n, 0, 10)
12 comentarios
Walter Roberson
el 9 de Feb. de 2023
remove the sum() from resultsym to get length(alpha) by length(0:11), which would be removing the summation from the formula
Más respuestas (0)
Ver también
Categorías
Más información sobre Quantum Mechanics en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!