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.1

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.1
File Size Uploaded
gulps-0.4.1.tar.gz 223.5 kB Details

Built distributions (wheels)

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

Total release size: 3.7 MB

Release files / gulps-0.4.1.tar.gz

Download URL gulps-0.4.1.tar.gz
Size 223.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1f592950ebbf85f1dabafa5faf9a166e20c9484bcc929157c44975e7cfd463b7
BLAKE2b-256 checksum
How to use checksums
594d18948f11d2b3a3039c5f337c18342a71251d1534c14a3c8d6a3e70cba5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

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

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 5, 2026.

Transparency log

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

Download URL gulps-0.4.1-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
e3001bc1b1bd56a1b513aa00e833cd920142125de70a5a2498fc753aea43b02d
BLAKE2b-256 checksum
How to use checksums
bdb19471bc700fed1d390cbbcb59825249c8b3cea13f158b4873d7564d00446f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL gulps-0.4.1-cp310-abi3-macosx_11_0_arm64.whl
Size 845.9 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
17376b9362b0f33fd555621b1321dfc5881250f3328737e564f5ec8ba921f6d7
BLAKE2b-256 checksum
How to use checksums
c0cba86eeb9b2015a3a0a230d9493072465b244d3d18ccd324b76f48041dc522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

4 release files

0.4.0

4 release files

0.3.6

4 release files

0.3.5

4 release files

0.3.4

4 release files

0.3.3

4 release files

0.3.2

4 release files

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