Skip to main content

GULPS

Python PyPI - Version CI Docs DOI Qiskit Ecosystem

GULPS is a two-qubit gate synthesis package for arbitrary native instruction sets. Given a set of native two-qubit gates and a cost for each, it selects the least-cost sentence, an ordered list of native gates with single-qubit gates before, between, and after them, that implements a target unitary. It then constructs those single-qubit gates with a dedicated solver, can_sandwich.

pip install gulps

The native gates can be any two-qubit gates with fixed parameters: Qiskit standard gates with bound parameters, or your own matrices wrapped in UnitaryGate.

from qiskit.circuit.library import CSXGate, iSwapGate
from qiskit.quantum_info import random_unitary
from gulps.decomposition import GulpsDecomposer

decomposer = GulpsDecomposer([CSXGate(), iSwapGate().power(1 / 3)], costs=[90, 120])
circuit = decomposer(random_unitary(4, seed=0))
print(circuit.draw("text"))

A cost can be a gate duration or any other quantity that adds up along a sentence.

  • Compilation: charge for single-qubit layers, run GULPS in a Qiskit pass manager, and query synthesis costs from other transpiler passes.
  • Pulse duration calibration: choose which native gate durations to calibrate for your workload.
  • How synthesis works: how reachable regions guide sentence selection and circuit construction.

The paper describes the method, which builds on monodromy.

Metadata

Release files for gulps 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gulps 0.4.2
File Size Uploaded Provenance Actions
gulps-0.4.2.tar.gz 240.1 kB With provenance Details for gulps-0.4.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for gulps 0.4.2
File Interpreter ABI Platform Actions
gulps-0.4.2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for gulps-0.4.2-cp310-abi3-win_amd64.whl
gulps-0.4.2-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for gulps-0.4.2-cp310-abi3-manylinux_2_28_x86_64.whl
gulps-0.4.2-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for gulps-0.4.2-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 3.6 MB

Release files / gulps-0.4.2.tar.gz

Download URL gulps-0.4.2.tar.gz
Size 240.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d1f2f618599efa056e3294c218e7efa65bbcf40e328b0bfdffc3ba5d9034cf01
BLAKE2b-256 checksum
How to use checksums
1e07ac24a6d833239574a62248d774408257d3cc5db5c341acd1da1cfa8aa6d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / gulps-0.4.2-cp310-abi3-win_amd64.whl

Download URL gulps-0.4.2-cp310-abi3-win_amd64.whl
Size 1.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d1db5eff193991fad81f9d8a5cca8c20a8359172dce9d179663883c601a3cd07
BLAKE2b-256 checksum
How to use checksums
d352c9e2f0acb1b919cd75daac2da735c71c75fed5dcaac3c87bad32d6de138e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / gulps-0.4.2-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL gulps-0.4.2-cp310-abi3-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d8fe9822b6552a7f93684d69555b1db85a5ce2accf0098c19af118f431ca835b
BLAKE2b-256 checksum
How to use checksums
6e8d1e07bd39bb7c0e94334f5ef179d69de3f9de4b828754137872e6002a5faa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / gulps-0.4.2-cp310-abi3-macosx_11_0_arm64.whl

Download URL gulps-0.4.2-cp310-abi3-macosx_11_0_arm64.whl
Size 826.8 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3f8d0d94b1b3cba168972ff696acb74013d8189db4f4e376dea2953ec6801507
BLAKE2b-256 checksum
How to use checksums
242b841957834479639507bac53f2c7a3163f3317e92ff7c0b3362471443bfae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for gulps 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for gulps-0.4.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page