Skip to main content

For questions about an algorithm as it relates to physics. DO NOT ask how to implement an algorithm, questions like that belong on Stack Overflow or Computational Science. DO NOT ask about the efficiency of an algorithm, or other such questions, questions like that belong on Computational Science.

An algorithm is a self-contained sequence of actions to be performed on a computer. This tag will often be used with or .

Some examples of algorithms that are relevant to physics are

  • Shor's algorithm, used on a quantum computer to find the prime factors of a number
  • the Jacobi eigenvalue algorithm, which is an iterative method for the calculation of the eigenvalues and eigenvectors of a real symmetric matrix
  • the Newton-Raphson method for finding successively better approximations of the roots of a real valued function.

Note that questions about the implementation of algorithms are considered off-topic on this site, but may be more suited for StackOverflow or Computational Science. Also off topic would be questions about the improvement of an implementation (which could be asked on Code Review).