Quantum computation algorithms, e.g. [Shor's algorithm][1], are to some extent necessarily of this form -- trying out all possibilities, and integrating over them. [1]: https://en.wikipedia.org/wiki/Shor's_algorithm