Scientific Computation and Functional Programming

  • Authors:
  • Jerzy Karczmarczuk

  • Affiliations:
  • -

  • Venue:
  • Computing in Science and Engineering
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modern functional programming languages and lazy functional techniques are useful for describing and implementing abstract mathematical objects in quantum mechanics. Scientists can use them both for pedagogical purposes and for real, not too computationally intensive, but conceptually and algorithmically difficult applications. This article will show how to perform simple abstract computations on state vectors and will discuss the construction of lazy algorithms that enormously simplify manipulation of potentially infinite data structures or iterative processes. Lazy functional techniques can often replace the use of symbolic computer algebra packages, while also offering an interesting algorithmic complement to the manipulation of mathematical data. These techniques are more efficient than blindly used symbolic algebra and are easy to integrate with the numerical code.