Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

BenjaminDecker/quantum-cellular-automaton

Repository files navigation

quantum-cellular-automaton

A Classical Simulation of the Quantum Game of Life

NOTE
A new and improved version of this project, re-written in the Julia language can be found here.

Requirements

Install dependencies with

pip install -r requirements.txt

Usage

List all available parameters with

python main.py --help

Create and show a plot

python main.py --show --initial-states single

Use different initial state vectors

python main.py --show --initial-states blinker triple_blinker

Use different rules

python main.py --show --initial-states blinker --distance 2 --activation-interval 2 4

Write to different file formats (The html output does not look as good as the rest, but works interactively)

python main.py --show --initial-states single --file-formats html svg png pdf

Plot the classical evolution and mps bond dimension

python main.py --show --initial-states single --plot-classical --plot-bond-dims

Try the TDVP algorithm (This can take a while)

python main.py --show --initial-states single --algorithm 2tdvp --num-steps 1000 --plotting-frequency 10 --plot-bond-dims --num-cells 15

Releases

No releases published

Packages

No packages published

Languages