Expanding the Commodore 64 Quantum Emulator

In a recent article I wrote, “Quantum Computing on a Commodore 64 in 200 Lines of BASIC”, published both on Medium and Hackaday.com, shows a two-qubit quantum circuit emulator on the venerable Commodore 64, writing only 200 lines of code. The source code, available on GitHub, sparked a flurry of activity in the retro-computing community. Notably, enthusiasts have ported this proof-of-concept (POC) to 6502 assembly, Fortran, and even the ZX Spectrum. This follow-up article delves into the implications and the burgeoning community interest.

The Quantum Challenge on Retro Platforms

The initial project was a testament to the versatility and enduring relevance of classic computing platforms. The Commodore 64, with its limited resources, was pushed to simulate quantum mechanics, a domain typically reserved for high-powered modern computers. This endeavor not only showcases the potential for educational tools in quantum computing but also ignites a conversation about the untapped capabilities of vintage technology.

Community Response and Expansions

Since the article’s publication, the community response has been phenomenal. Programmers and hobbyists have taken the original BASIC code and adapted it to other languages and platforms. Notably:

  • 6502 Assembly Version: A more efficient, lower-level implementation that runs faster and uses less memory.
  • Fortran Iteration: Leveraging older scientific computers, this version brings quantum emulation to a range of vintage systems.
  • ZX Spectrum Adaptation: Demonstrating the cross-platform potential, this port brings quantum concepts to a beloved British microcomputer.

These ports are more than just technical achievements; they represent a bridge between the past and future of computing.

Conclusion

The broad interest in these projects highlights a growing trend: using nostalgic tech to teach cutting-edge concepts. Schools and educational programs, often constrained by budgets, can utilize accessible retro hardware to introduce students to quantum computing principles. This hands-on approach, using tangible and less intimidating platforms, could demystify quantum computing and inspire the next generation of computer scientists.

The journey from a two-qubit quantum circuit emulator on a Commodore 64 to its adaptation across various old-school platforms is just the beginning. This fusion of past and future opens up new avenues for both education and hobbyist exploration. As we continue to push the boundaries of what these vintage machines can do, we’re not just revisiting the past; we’re redefining the future.

2024

DQPU, the decentralized quantum simulator

2 minute read

During my Quantum Computing journey, I often needed to simulate some quantum circuits; sometimes they are small, but some other times they are bigger enough ...

The Time I Built a Probabilistic Computer

6 minute read

In early 2023, I embarked on a journey to explore the field of probabilistic computing. This endeavor culminated in the construction of a hardware prototype,...

Back to Top ↑

2023

Expanding the Commodore 64 Quantum Emulator

1 minute read

In a recent article I wrote, “Quantum Computing on a Commodore 64 in 200 Lines of BASIC”, published both on Medium and Hackaday.com, shows a two-qubit quantu...

Back to Top ↑

2020

OCaml and Quantum Computing

1 minute read

Qiskit is a python SDK developed by IBM and allows everyone to create quantum circuits, simulate them locally and also run the quantum circuit on a real quan...

Yallo, a new Tezos language

2 minute read

As someone noticed from the previous post, last weeks I started to write a new programming language for Tezos smart contracts. This project was initially int...

King of Tezos: a smart-ponzi on Tezos

2 minute read

While writing a new programming language, it is often useful to write some real use-cases to test the syntax, the language expressiveness and the code cleann...

Favorite dev quote

less than 1 minute read

Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing

New blog

less than 1 minute read

This is my new blog, based on jekyll. I’ll soon import old posts from my old blog.

Back to Top ↑

2016

Contractvm: decentralized applications on Bitcoin

less than 1 minute read

Contractvm is a general-purpose decentralized framework based on blockchain. The framework allows to implement arbitrary decentralized applications in an eas...

Back to Top ↑

2015

Dices provably fair - Nonce overflow vulnerability

less than 1 minute read

Most of bitcoin dice software use a system to prove the fair play of the server for each bet. Most of them implement this mechanism using two seed (server se...

Back to Top ↑

2014

Apache2: redirect different domains to subfolder

less than 1 minute read

In the aim to merge two of my server on digitalocean, today I tried to write a mod_rewrite rule to redirect a secondary domain to a subfolder. After one hour...

Back to Top ↑

2013

MineML: F# miner

less than 1 minute read

MineML is a multithread CPU based bitcoin miner written in F#. At the moment it’s a slow implementation, but the class structure offers the possibility to im...

Back to Top ↑