---
aliases: [wave function collapse, wfc]
---
#physic #quantum #todo
Created at 2023-01-10
# [Anonymous feedback](https://www.admonymous.co/louis030195)
# [[Epistemic status]]
#shower-thought
Last modified date: 2023-01-10
Commit: 0
# Related
# TODO
> [!TODO] TODO
# Wave Function Collapse
Wave Function Collapse (WFC) is an algorithm used in quantum physics to approximate the behavior of a quantum system. The algorithm works by using a probability distribution over all possible outcomes of a quantum system, and collapsing the wave function toward the most likely outcome. WFC has been successfully applied to simulate a wide range of quantum phenomena, such as quantum tunneling, entanglement, and phase transitions. It can also be used to calculate the properties of a system, such as energy levels and transition probabilities. WFC is a powerful tool that can provide insight into the behavior of quantum systems and pave the way for new discoveries.

It is used to generate procedural content such as textures, maps, and puzzles. WFC works by randomly sampling a set of possible states and then recursively collapsing the wave function until a single state remains. This single state is then used as the output of the algorithm to generate the desired content. WFC has a wide range of applications, including generation of game levels, textures, and puzzles. It is also used in machine learning to determine the behavior of complex systems, such as facial recognition.

Links:
- [https://en.wikipedia.org/wiki/Wave_Function_Collapse](https://en.wikipedia.org/wiki/Wave_Function_Collapse)
- [https://www.youtube.com/watch?v=5VhJ5-LxXzU](https://www.youtube.com/watch?v=5VhJ5-LxXzU)
- [https://github.com/mxgmn/WaveFunctionCollapse](https://github.com/mxgmn/WaveFunctionCollapse)