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.
Metadata
Release files for AQMLator 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aqmlator-0.2.0.tar.gz | 40.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aqmlator-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.7 kB
Release files / aqmlator-0.2.0.tar.gz
| Download URL | aqmlator-0.2.0.tar.gz |
|---|---|
| Size | 40.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
721b750287d088721ddbd58ad16fdb29873cbdcbdc296acc6c05f01860f18313
|
|
BLAKE2b-256 checksum How to use checksums |
5824761aedc0907f872179513748e7e383c300739007ae3ac4ade38e71df1271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / aqmlator-0.2.0-py3-none-any.whl
| Download URL | aqmlator-0.2.0-py3-none-any.whl |
|---|---|
| Size | 37.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fef7993f1534678cd9ac7782b39dfb4e89af380e37351f73cdd70d776f531b9
|
|
BLAKE2b-256 checksum How to use checksums |
cdf91e33d8ddd8c04d11a4b262b809bb13a75962b020a5a3f3035cffb46ce629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|