Skip to main content

QAML-ZIM

Quantum Adiabatic Machine Learning with Zooming IMproved. This is a supervised ML algorithm used to train a Binary Classifier on D-Wave's Quantum Annealers. The library has been set up to be compatible with Scikit-Learn's data representation. The algortihm is intended to be generalizable to any Binary ML problem.

In order to run the program you'll need D-Wave credentials, these can be obtained at https://cloud.dwavesys.com/leap/signup/. You'll need a github account in order to sign up. This account will give you the "endpoint_url" and "account_token" referenced below.

Installation

Run the following to install:

$ pip install qamlzim

Contributors

Special thanks to everyone who helped me develop this module

  • My PI and Grad student:
    • Javier Duarte and Raghav Kansal (University of California San Diego, La Jolla, CA 92093, USA)
  • All of QMLQCF, with special mentions of:
    • Jean-Roch (California Institute of Technology, Pasadena, CA 91125, USA)
    • Daniel Lidar (University of Southern California, Los Angeles, CA 90007, USA)
    • Gabriel Perdue (Fermi National Accelerator Laboratory, Batavia, IL 60510, USA)
  • Author of the original QAML-Z code:
    • Alexander Zlokapa (Massachusetts Institute of Technology, Cambridge, MA 02139, USA)
  • Mentoring for code practices:
    • Otto Sievert (GoPro, Inc.)

Usage

import qamlzim

# Generate the Environment (Data) for the Model
env = qamlzim.TrainEnv(X_train, y_train, endpoint_url, account_token)

# Generate the Config (Hyperparameters) for the Model
config = qamlzim.ModelConfig()

# Create the Model and begin training
model = qamlzim.Model(config, env)
model.train()

Developing QAML-ZIM

To install qamlzim, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

Release files for qamlzim 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qamlzim 1.0.0
File Size Uploaded
qamlzim-1.0.0.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qamlzim 1.0.0
File Interpreter ABI Platform
qamlzim-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.5 kB

Release files / qamlzim-1.0.0.tar.gz

Download URL qamlzim-1.0.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fdedd9b77e51aad2f49be5d9500ecd73529141713d12bfe2952c600be652caef
BLAKE2b-256 checksum
How to use checksums
5168e72891a7129949ee6ad3ee6a20f5c29beec50656a730cda788f1b4993c93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / qamlzim-1.0.0-py3-none-any.whl

Download URL qamlzim-1.0.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cab24b4f5a2a08172c1e5500f5a1f17e093b79db811165930103291eebbc316
BLAKE2b-256 checksum
How to use checksums
7f31b7ee625fdda72e50bffaae23a830b961402089b93f1ac8dbf09b35dd3724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page