Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
/ wfc_python Public archive
forked from ikarth/wfc_python

An implementation of mxgmn/WaveFunctionCollapse in Python

License

Notifications You must be signed in to change notification settings

quantumjim/wfc_python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Wave Function Collapse Algorithm

This is substantially ikarth/wfc_python, which is itself an implementation of mxgmn/WaveFunctionCollapse in Python.

The main difference to these, and to to all other implementations of the Wave Function Collapse algorithm, is that there are actual real life quantum wave functions being collapsed in this one, thanks to IBM's Qiskit.

If you want to know what was changed, check out the file 'model.py'. All lines changed have a comment including the word 'quantum'.

An example of running a job is in run_wfc.ipynb. The arguments of the relevant function take the same form as those in the samples.xml file of the original implementation.

About

An implementation of mxgmn/WaveFunctionCollapse in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.8%
  • Jupyter Notebook 5.2%