Skip to main content

The TitanQ SDK for python

Project description

The TitanQ SDK for Python

Python License

TitanQ is the InfinityQ Software Development Kit (SDK) for Python. The SDK facilitates and opens the way for faster implementation of the TitanQ solver without having to deal directly with the TitanQ API.

This TitanQ package is maintained and published by InfinityQ

API Key

In order to use the TitanQ service, a user needs an API key. The API key can be obtained by contacting InfinityQ support

Installation

The following steps assume that you have:

  • A valid and active API Key
  • A supported Python version installed

Setting up an environment

python -m venv .venv
.venv/bin/activate

Install TitanQ

pip install titanq

Using TitanQ

The TitanQ solver is designed to support very large problems and therefore very large files. To simplify the user experience, TitanQ will instead use cloud storage set up and managed by the end users.

Currently, the SDK only supports two types of storage

Storage options Vector variables limit
S3 Buckets ✅ Up to 100k vector variables
Managed storage ⚠️ Up to 10k vector variables

Both options are documented with examples at the TitanQ's Quickstart documentation

Problem construction

TitanQ is an optimization solver for highly non-convex optimization problems. Information on problem construction can be found in the User Guide, and the SDK Documentation.

Additional parameters are available to tune the problem:

  • beta
  • coupling_mult
  • num_chains
  • num_engines

For more informations how to use theses parameters, please refer to the API documentation

Getting support or help

Further help can be obtained by contacting InfinityQ support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

titanq-0.24.0.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

titanq-0.24.0-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

Details for the file titanq-0.24.0.tar.gz.

File metadata

  • Download URL: titanq-0.24.0.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for titanq-0.24.0.tar.gz
Algorithm Hash digest
SHA256 eea71f1f88527c56246ac92de8b6cea4217527c1e254d01852ccb0993e576c7c
MD5 5697af3a618f023d57481c2e6aaee5c1
BLAKE2b-256 28db54552e141f1a2d98c4207d8bde14abedf1b7ff993ca0bf67539d79bb355e

See more details on using hashes here.

File details

Details for the file titanq-0.24.0-py3-none-any.whl.

File metadata

  • Download URL: titanq-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 61.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for titanq-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9056b2a47924336053663193f41f4cfbdab1c95fe5b1c7f8b0863dad353aa3
MD5 5f3527aa099fec6d869b8d3ea63f84b6
BLAKE2b-256 f8583d1f591299598ad6b689dedb78d1291f161141971aa228f0e8522c32be0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page