Skip to main content

Ascent Science CIM plugin

This package exposes the platform-hosted Boson Quantum coherent Ising machine through ascent.quantum.CIMOptimizer. The client package does not install the Kaiwu SDK or contain Boson Quantum credentials; those remain on the platform worker.

python -m pip install -e ./sdk-python -e ./sdk-plugins/cim
import ascent

solver = ascent.quantum.CIMOptimizer(
    precision=8,
    interval=1,
    execution_timeout=3600,
)
result = solver.solve_qubo([
    [-2.0, 1.0],
    [1.0, -1.0],
])

print(result.best_solution)
print(result.best_spins)
print(result.best_value)

The solver accepts QUBO matrices containing 2 to 32 variables. Calls are submitted as durable platform jobs and polled until completion. Set an idempotency_key on solve_qubo when retrying the same logical request.

Build a release

sh scripts/build-release.sh

Metadata

Release files for ascent-science-cim 0.1.0

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

Source distribution (sdist)

Source distribution for ascent-science-cim 0.1.0
File Size Uploaded
ascent_science_cim-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ascent-science-cim 0.1.0
File Interpreter ABI Platform
ascent_science_cim-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / ascent_science_cim-0.1.0.tar.gz

Download URL ascent_science_cim-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c6db214cd8f177f5ba3e47bd7f1b410abaaee9409d7d54d2180ab16c27281a
BLAKE2b-256 checksum
How to use checksums
8576029c6d09e378586209dd4084378eea5a5dd7bd92e5eb145e4a2d3b6cf934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / ascent_science_cim-0.1.0-py3-none-any.whl

Download URL ascent_science_cim-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1bcbd41575bab071681e53a899b2679e9f33d9f558cdd9687a8ff2f051bcfc
BLAKE2b-256 checksum
How to use checksums
f2d20de5bea5a4d915242acf388b9107fa9ec124b2cefc1a8c38ac58ef66a04e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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