GitPedia

Qmasm

Quantum macro assembler for D-Wave systems

From lanl·Updated May 18, 2026·View on GitHub·

QMASM: A Quantum Macro Assembler ================================ The project is written primarily in Python, distributed under the Other license, first published in 2016. Key topics include: quantum-computing, quantum-information, quantum-programming-language.

Latest release: v4.1QMASM v4.1
December 19, 2020View Changelog →

QMASM: A Quantum Macro Assembler

Build Status
PyPI version

Description

QMASM fills a gap in the software ecosystem for D-Wave's adiabatic quantum computers by shielding the programmer from having to know system-specific hardware details while still enabling programs to be expressed at a fairly low level of abstraction. It is therefore analogous to a conventional macro assembler and can be used in much the same way: as a target either for programmers who want a great deal of control over the hardware or for compilers that implement higher-level languages.

N.B. This tool used to be called "QASM" but was renamed to avoid confusion with MIT's QASM, which is used to describe quantum circuits (a different model of quantum computation from what the D-Wave uses) and the IBM Quantum Experience's QASM (now OpenQASM) language, also used for describing quantum circuits.

Installation

QMASM is written in Python. The latest release can be downloaded and installed from PyPI via

bash
pip install qmasm

Alternatively, QMASM can be installed manually from GitHub using the standard Setuptools installation mechanisms. For example, use

bash
python setup.py install

to install QMASM in the default location and

bash
python setup.py install --prefix=/my/install/directory

to install elsewhere.

Documentation

Documentation for QMASM can be found on the QMASM wiki.

QMASM (then known as QASM) is discussed in the following publication:

Scott Pakin. "A Quantum Macro Assembler". In Proceedings of the 20th Annual IEEE High Performance Extreme Computing Conference (HPEC 2016), Waltham, Massachusetts, USA, 13–15 September 2016. DOI: 10.1109/HPEC.2016.7761637.

License

QMASM is provided under a BSD-ish license with a "modifications must be indicated" clause. See the LICENSE file for the full text.

This package is part of the Hybrid Quantum-Classical Computing suite, known internally as LA-CC-16-032.

Author

Scott Pakin, pakin@lanl.gov

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from lanl/qmasm via the GitHub API.Last fetched: 6/17/2026