Skip to main content

A package for auto quantum machine learning-izing your experiments!

Project description

AQMLator

A package for auto (quantum machine learning)-izing your experiments!

Requirements

Python version 3.11 is required. Necessary packages are provided in the respective requirements*.txt files.

Database

The Postgres database is used to store the Optuna trials data. It has to be installed prior to running the package, so that the psycopg2 package can be installed properly.

Documentation

The documentation is built using Sphinx. Building PDF version of the documentation requires latex distribution (we used miktex) and perl (we used strawberry perl). To generate the pdf version of documentation, run

make latexpdf

and to generate the html version of documentation, run

make html

Both command should be run from the docs directory.

Installation

The package is available on pip, and can be installed using

pip install aqmlator

To install the package from the sources, run

pip install .

To develop the package, run

pip install -e .

To install the packages required for development, run

pip install -r requirements -r requirements-dev.txt

Setup

To fully set up the package, one has to add the database url to the aqmlator_database_url environment variable. The example of the database url is

postgresql://user:password@localhost/mydb

where user is the database user, password is the database password, localhost is the database host, and mydb is the database name.

Tests

We use tox to run full package tests. To do so, simply call

tox

in the project folder.

Access

To access the Optuna trials data use optuna-dashboard application. By default, it can be run using the following command

optuna-dashboard postgresql://user:password@localhost/mydb

while the (PostgreSQL) database is running.

Alternatively, one can use aqmlator.database.export_data_to_sqlite_database to export the data to the SQLite database, and handle it as one pleases.

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

aqmlator-0.2.0.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aqmlator-0.2.0-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file aqmlator-0.2.0.tar.gz.

File metadata

  • Download URL: aqmlator-0.2.0.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for aqmlator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 721b750287d088721ddbd58ad16fdb29873cbdcbdc296acc6c05f01860f18313
MD5 3270733906759acfa702cae71b29f77b
BLAKE2b-256 5824761aedc0907f872179513748e7e383c300739007ae3ac4ade38e71df1271

See more details on using hashes here.

File details

Details for the file aqmlator-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aqmlator-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for aqmlator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fef7993f1534678cd9ac7782b39dfb4e89af380e37351f73cdd70d776f531b9
MD5 34240ed25caaf9f82276e35d455bd1c3
BLAKE2b-256 cdf91e33d8ddd8c04d11a4b262b809bb13a75962b020a5a3f3035cffb46ce629

See more details on using hashes here.

Supported by

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