Ascent Science Python SDK
ascent-science is the lightweight core SDK. Algorithm implementations are
installed independently and discovered through Python entry points.
python -m pip install ./ascent_science-0.9.5-py3-none-any.whl
python -m pip install ascent-science-aco==0.1.3
import ascent
solver = ascent.combinatorial.ACOOptimizer(ants=30, iterations=100, seed=42)
result = solver.solve_tsp([[0, 2, 3], [2, 0, 1], [3, 1, 0]])
print(result.best_route, result.best_distance)
| Distribution | Public Python API |
|---|---|
ascent-science-aco |
ascent.combinatorial.ACOOptimizer |
ascent-science-pso |
ascent.combinatorial.PSOOptimizer |
ascent-science-exact-qubo |
ascent.qubo.ExactQUBOOptimizer |
ascent-science-cim |
ascent.quantum.CIMOptimizer |
ascent-science-sqa |
ascent.quantum.SimulatedQuantumAnnealing |
Trying to access a missing plugin raises an actionable error containing its
exact pip install command. Installing or removing one algorithm does not
change any other algorithm package.
Metadata
Release files for ascent-science 0.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ascent_science-0.9.5.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascent_science-0.9.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.0 kB
Release files / ascent_science-0.9.5.tar.gz
| Download URL | ascent_science-0.9.5.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ee5c4543c1aefbf609a485fce0472c38e3300384c0e92d4187955f7a0c349cd
|
|
BLAKE2b-256 checksum How to use checksums |
dfc5317d59fd711d63288e27de0fa884a2172bd8f8967854db4a5040cb5d780c
|
| 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-0.9.5-py3-none-any.whl
| Download URL | ascent_science-0.9.5-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6257b3334d2d584085af4d391e4a4c6f62ef8d697cae89ed9ad5c89d373d30d1
|
|
BLAKE2b-256 checksum How to use checksums |
d8ef65c98793491eeab2ec403d60b0ace3f9e8a3d8ba533b754e532d828785ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|