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.

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.1.1.tar.gz (39.8 kB view hashes)

Uploaded Source

Built Distribution

AQMLator-0.1.1-py3-none-any.whl (36.8 kB view hashes)

Uploaded Python 3

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