https://github.com/benjamindecker/quantum-cellular-automaton

A classical simulation of quantum cellular automata

https://github.com/benjamindecker/quantum-cellular-automaton

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.6%) to scientific vocabulary

Keywords

cellular-automata cellular-automaton quantum quantum-algorithms quantum-computing quantum-information
Last synced: 5 months ago · JSON representation ·

Repository

A classical simulation of quantum cellular automata

Basic Info
  • Host: GitHub
  • Owner: BenjaminDecker
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 502 KB
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Archived
Topics
cellular-automata cellular-automaton quantum quantum-algorithms quantum-computing quantum-information
Created almost 4 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.md

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

bash pip install -r requirements.txt

Usage

List all available parameters with

bash python main.py --help

Create and show a plot

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

Use different initial state vectors

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

Use different rules

bash 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)

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

Plot the classical evolution and mps bond dimension

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

Try the TDVP algorithm (This can take a while)

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

Owner

  • Name: Benjamin Decker
  • Login: BenjaminDecker
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - given-names: Benjamin
    family-names: Decker
    email: benjamin.decker@tum.de
    orcid: 'https://orcid.org/0000-0002-0921-0026'
title: "quantum-cellular-automaton"
url: "https://github.com/BenjaminDecker/quantum-cellular-automaton"

GitHub Events

Total
  • Watch event: 2
  • Fork event: 1
Last Year
  • Watch event: 2
  • Fork event: 1

Dependencies

requirements.txt pypi
  • matplotlib ==3.5.1
  • numpy ==1.22.3
  • plotly ==5.6.0
  • scipy ==1.7.3
  • tqdm ==4.64.1