macOS
brew install staqlocal Homebrew formula metadata
安装
brew install staqlocal Homebrew formula metadata
概览
Full-stack quantum processing toolkit
历史
staq is a C++ quantum-circuit toolkit distributed as both a library and a collection of command-line tools for OpenQASM-centered circuit synthesis, transformation, optimization, mapping, and translation.
The project is maintained by softwareQ Inc. Its README describes a modern C++17 library with low external dependencies, usable through binary tools or as a header-only library for parsing and manipulating OpenQASM 2.0 circuits. The linked paper, first posted as an arXiv preprint in December 2019 and later published in Quantum Science and Technology in 2020, frames staq as a full-stack quantum processing toolkit.
staq's design is explicitly source-oriented: the README says it manipulates OpenQASM syntax trees directly, taking inspiration from Clang, rather than lowering immediately to an intermediate representation. That made it useful for source-to-source transformations and translations where preserving the structure of QASM input mattered.
For package-manager users, staq shows up as a Homebrew formula with many small executables rather than a single monolithic binary. The input package facts list the main `staq` tool alongside specialist tools such as simplifiers, inliners, mappers, resource estimators, and language/library translators.
The project did not become a general-purpose developer utility like a formatter or shell tool; its adoption is concentrated in quantum software workflows, especially scripts and experiments built around OpenQASM.
The official tool-suite wiki documents a Unix-style workflow where OpenQASM source is passed through individual tools using standard input, standard output, and shell pipes. That style encourages users to compose exactly the circuit passes they need.
Common usage includes desugaring, inlining, simplifying, optimizing rotations, mapping circuits to device constraints, estimating resources, and translating OpenQASM into targets such as Quil, ProjectQ, Q#, and Cirq.
staq is interesting to package maintainers because it turns a specialized research compiler into a set of ordinary command-line programs. The package exposes many narrowly scoped binaries, which fits the Unix-pipeline culture better than a large GUI or cloud-only quantum SDK.
Its low-dependency C++17 implementation and MIT license also make it relatively straightforward for a package manager to build and ship compared with quantum stacks that pull in larger runtime ecosystems.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
staq | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_circ | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_desugarer | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_device_generator | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_grid_synth | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_group_qregs | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_inliner | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_ionq | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_lattice_surgery | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_mapper | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_oracle_synthesizer | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_projectq | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_qasm_synth | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_qsharp | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_quil | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_resource_estimator | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_rotation_optimizer | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
staq_simplifier | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:staq |
|---|---|
| 版本 | 3.5 |
| 软件包管理器 | Homebrew |
| 主页 | https://iopscience.iop.org/article/10.1088/2058-9565/ab9359/pdf |
| 仓库 | https://github.com/softwareQinc/staq |
| 最后更新 | 2026-07-13T17:31:48+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.