GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - softwareQinc/staq: Full-stack quantum processing toolkit

BranchesTags
Open more actions menu

Latest commit

 

History

647 Commits
647 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmake
cmake
 
 
docker
docker
 
 
examples/standalone
examples/standalone
 
 
include/staq
include/staq
 
 
libs
libs
 
 
misc
misc
 
 
pystaq
pystaq
 
 
qasmtools
qasmtools
 
 
src
src
 
 
unit_tests
unit_tests
 
 
.clang-format
.clang-format
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGES.md
CHANGES.md
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Doxyfile
Doxyfile
 
 
INSTALL.md
INSTALL.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
VERSION.txt
VERSION.txt
 
 
prettyprint.sh
prettyprint.sh
 
 
pyproject.toml
pyproject.toml
 
 
setup.py
setup.py
 
 

Repository files navigation

staq

Version 3.5 - 8 March 2024

GitHub actions


About

staq is a modern C++ library for the synthesis, transformation, optimization and compilation of quantum circuits. staq is written in standard C++17 and has very low external dependencies. It is usable either through the provided binary tools, or as a header-only library that can be included to provide direct support for parsing & manipulating circuits written in the OpenQASM 2.0 circuit description language.

Inspired by Clang, staq is designed to manipulate OpenQASM 2.0 syntax trees directly, rather than through an intermediate representation which makes retrieving the original source code impossible. In particular, OpenQASM 2.0 circuits can be inspected and transformed (in most cases) without losing the original source structure. This makes staq ideally suited for source-to-source transformations, where only specific changes are desired. Likewise, this allows translations to other common circuit description languages and libraries to closely follow the OpenQASM 2.0 source.

Check out the Wiki for more information about the library and included tools.

Copyright (c) 2019 - 2025 softwareQ Inc. All rights reserved.


License

staq is distributed under the MIT license. Please see the LICENSE.txt file for more details.


Installation instructions

Please see the installation guide INSTALL.md and the comprehensive Wiki for further documentation and detailed examples.


Python 3 wrapper

pystaq is a Python 3 wrapper for staq. pystaq can be installed using pip

pip install git+https://github.com/softwareQinc/staq

For more details, please see pystaq/README.md.


Acknowledgements

Thanks to the excellent EPFL logic synthesis libraries which are used to perform logic synthesis in staq, and in particular Bruno Schmitt's tweedledum library, from which the OpenQASM 2.0 parser was adapted.

About

Full-stack quantum processing toolkit

iopscience.iop.org/article/10.1088/2058-9565/ab9359/pdf

Topics

c-plus-plusquantum-computingquantum-development-kit

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

188 stars

Watchers

11 watching

Forks

33 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.