返回资讯中心
外部精选
软件工程
#开发者实时流

Quandoom – A port of DOOM for a quantum computer

It is a well-known fact that all useful computational devices ever created are capable of running DOOM. Despite decades of active research, there is yet to be developed a single practical use for quantum computers. This…

Hacker News 最新aggrrrh2026/11/5 · 今天6 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

It is a well-known fact that all useful computational devices ever created are capable of running DOOM. Despite decades of active research, there is yet to be developed a single practical use for quantum computers. This changes today, with the release of Quandoom, a port of the first level of DOOM designed for a quantum computer, given as a single QASM file, using a mere 70,000 qubits and 80 million gates. Although such a quantum computer doesn't exist right now, Quandoom is efficiently simulatable on a classical computer, capable of running at 10-20 fps on my laptop using the accompanying lightweight (150 lines of C++) QASM simulator. The code used to generate the circuit can be found here. There is also an arXiv document explaining things here.

Please note - it will use about 5-6 GB of ram and take a while to load since it's a very large circuit file.

First, download the latest release for your system from and unzip it.

Windows: run the quantum circuit (quandoom.qasm) with the simulator by dragging it onto simulator.exe

Linux: add run permissions to the simulator using chmod +x ./simulator.AppImage and then run the circuit by running ./simulator.AppImage quandoom.qasm

Alright, so after like a year of working on this I got bored, so it doesn't have all the features from the original DOOM. More specifically:

If the distributed executable doesn't work for you (or you don't trust my binaries), you can compile it yourself on Linux using:

sudo apt-get install g++ make libsdl2-dev libomp-dev -y git clone https://github.com/Lumorti/Quandoom cd Quandoom make

Or on macOS using:

brew install libomp sdl2 git clone https://github.com/Lumorti/Quandoom cd Quandoom make macos

Legal Disclaimer

This is a recreation from scratch of the first level of the original DOOM game, which was released as shareware by Id Software in 1997. This project is released as a non-commercial open-source project made in good faith in relation to the "anything can run DOOM" internet meme, for which a vast number of fan-made ports to various devices already exist. This project does not serve as a replacement for the original DOOM, acting purely as a joke/parody, a fact which should be obvious to anyone using it. DOOM, its characters, assets and level design are the intellectual property of Id Software. The author of this work advises anyone who actually wants to play the game to download the official shareware version.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →