pkg.soopen package index

brew / 排名 12632

使用 Homebrew 安装 staq

查看 staq 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install staq

local Homebrew formula metadata

概览

软件包摘要

Full-stack quantum processing toolkit

命令和别名

  • 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

历史

项目历史与用法

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.

时间线

  • 2019: arXiv preprint describes staq as a full-stack quantum processing toolkit.
  • 2020: Paper published in Quantum Science and Technology.
  • 2021: Official wiki page documents the separate command-line tools and pipe-based workflow.
  • 2024: README lists version 3.5 dated March 8, 2024.

Related projects

  • staq is tied to OpenQASM 2.0 and interoperates conceptually with quantum toolchains such as Quil, ProjectQ, Q#, and Cirq through its translator tools.
  • The README credits EPFL logic-synthesis libraries and notes that the OpenQASM parser was adapted from tweedledum.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
staqcli全局可执行文件
staq_circcli全局可执行文件
staq_desugarercli全局可执行文件
staq_device_generatorcli全局可执行文件
staq_grid_synthcli全局可执行文件
staq_group_qregscli全局可执行文件
staq_inlinercli全局可执行文件
staq_ionqcli全局可执行文件
staq_lattice_surgerycli全局可执行文件
staq_mappercli全局可执行文件
staq_oracle_synthesizercli全局可执行文件
staq_projectqcli全局可执行文件
staq_qasm_synthcli全局可执行文件
staq_qsharpcli全局可执行文件
staq_quilcli全局可执行文件
staq_resource_estimatorcli全局可执行文件
staq_rotation_optimizercli全局可执行文件
staq_simplifiercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本3.5
管理器更新时间2026-07-13
本地数据OK
上游当前
检测到的最新版本v3.5

https://github.com/softwareQinc/staq

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:staq
版本3.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/staq
主页https://iopscience.iop.org/article/10.1088/2058-9565/ab9359/pdf
仓库https://github.com/softwareQinc/staq
上游文档https://iopscience.iop.org/article/10.1088/2058-9565/ab9359/pdf
许可证MIT
源码归档https://github.com/softwareQinc/staq/archive/refs/tags/v3.5.tar.gz
最后更新2026-07-13T17:31:48+09:00
Pulseupdated
依赖gmp
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestaq
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation