/qzx

Quantum Computing on the ZX Spectrum

Primary LanguageBASICMIT LicenseMIT

QZX - Quantum Simulator for the ZX Spectrum

QZX is an experimental quantum computing simulator for the ZX Spectrum, written in pure BASIC. You need ANY ZX Spectrum computer to run this simulator (16K is enough!) This is a port of qc64 project by Davide Gessa (dakk) https://github.com/dakk/qc64

Creating a Bell State on ZX Spectrum

Features

  • Simulate operations of various quantum gates including Pauli-X, Pauli-Y, Pauli-Z, Hadamard, CNOT, and SWAP on a two-qubit system.
  • Written in less than 200 lines of BASIC code.

How it works

Starting from the initial state |00>, the simulator can apply various quantum gates to manipulate the state of the two-qubit system. This allows for the simulation of various quantum computing concepts right on your ZX Spectrum!

License

QZX is released under MIT License.