--- 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. ![Entering the mind maze, a thousand mirrors greet me, each one a variant of some furry character.](https://lexica-serve-encoded-images.sharif.workers.dev/md/03c5d220-3244-45f4-b466-b7cbd1076768) 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. ![everyone's most favourite thing, high resolution, highly detailed ](https://lexica-serve-encoded-images.sharif.workers.dev/md/062a51dc-dd45-4bed-ab4f-182c229b69e9) 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)