HybridSolver API Client
This package contains the CLI and API to access the HybridSolver.
Installation
Python >= 3.8 is required. Then, do
python -m pip install hybridsolver
In order to use the cloud-based HybridSolver, you need to sign up for an API key at https://platform.quantagonia.com and set it system-wide by
export QUANTAGONIA_API_KEY=<your API key here>
Features
CLI
The package installs a hybridsolver CLI command for job submission, status checking, and solution retrieval:
hybridsolver submit problem.mps
hybridsolver status <job-id>
hybridsolver solution <job-id>
Supported Model Formats
- MPS/LP files — Submit standard optimization problem files directly
- PuLP — Integration with the PuLP modeling library
- QUBO — Support via Qiskit, D-Wave Ocean, and pyqubo
- SCIP — Integration with PySCIPOpt
Examples
The examples/ directory contains 14+ example scripts covering MIP, QUBO, batch solving, and various modeling interfaces. See Documentation for a Quick Start Guide and API reference.
Development
This project uses Hatch for environment management, testing, and building:
hatch test # run unit tests
hatch fmt --linter --check # lint check
hatch fmt --formatter --check # format check
hatch build # build package
Changelog for Documentation
To include the changelog in the external documentation, please see the add the relevant section in the changelog fragment file in the changelog.d directory for the latest changes.
Steps to add a new changelog:
- Create a new changelog fragment directory
changelog.dif it doesn't exist. - Run
hatch run changelog:createto create a new changelog fragment file. - Add relevant changes (Only include changes that are relevant to the external users) to the new changelog fragment file.
- Commit the changes and push to the repository.
Metadata
Release files for HybridSolver 0.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hybridsolver-0.17.0.tar.gz | 4.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hybridsolver-0.17.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 MB
Release files / hybridsolver-0.17.0.tar.gz
| Download URL | hybridsolver-0.17.0.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36a8fbae3179e7e7a10eacf761032298ee2bd37d43b69d655d9aea14deaf4a84
|
|
BLAKE2b-256 checksum How to use checksums |
6b9a5d0caf394cf70bead9a02c7ca989cd8b57ae8812b79909606ad1ff9d4d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency logRelease files / hybridsolver-0.17.0-py3-none-any.whl
| Download URL | hybridsolver-0.17.0-py3-none-any.whl |
|---|---|
| Size | 67.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c55014ce911588a39a7ad787d15da863db8b42263b0f1be7df7a05d92eaf6f3
|
|
BLAKE2b-256 checksum How to use checksums |
70301aea2bad9bc00e7232d241f94ea12e97b37fbfa95339c11d1dae6114a1e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency log