QC64 is an experimental quantum computing simulator for the Commodore 64, written in pure BASIC.
- Simulate operations of various quantum gates including Pauli-X, Pauli-Y, Pauli-Z, Hadamard, CNOT, and SWAP on a two-qubit system.
- Enhanced audio tracking: Real-time sound feedback using the SID chip for each quantum gate operation.
- Colorful display: Improved visual experience with color-coded results and interface elements.
- Audio completion notification: Musical sequence plays when calculations complete.
- Written in less than 200 lines of BASIC code.
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 Commodore 64!
The enhanced version includes a tracker-style audio system that provides real-time auditory feedback:
- Each quantum gate operation triggers a unique sound frequency via the SID chip
- Different gate types produce different tones (e.g., Hadamard gates at 8000 Hz, Pauli-X at 7000 Hz)
- A musical completion sequence plays when the quantum simulation finishes
- Colors are used throughout the interface to distinguish different quantum states and results
- Blue border and light blue background for the main interface
- Green text for input prompts
- Color-coded results: Different colors for each quantum state (00, 01, 10, 11)
- Visual feedback with reverse video for the title banner
Contributions to QC64 are welcome! Feel free to create a pull request or open an issue if you have ideas for improvements or spot any bugs.
QC64 is released under MIT License. Let's Rekindle the Magic of Vintage Computing!
