Module wave_function

Source

Modules§

collapsable_wave_function

Structs§

Node
This is a node in the graph of the wave function. It can be in any of the provided node states, trying to achieve the cooresponding probability, connected to other nodes as described by the node state collections.
NodeStateCollection
This struct represents a relationship between the state of one “original” node to another “neighbor” node, permitting only those node states for the connected neighbor if the original node is in the specific state. This defines the constraints between nodes.
NodeStateProbability
This struct makes for housing convenient utility functions.
WaveFunction
This struct represents the uncollapsed definition of nodes and their relationships to other nodes.