Skip to main content

Train a Binary Classifier using D-Wave's Quantum Annealers.

Project description

QAML-Z

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.

Installation

Run the following to install: '''python pip install qamlz '''

Contributors

Special thanks to everyone who helped me develop this module: - My PI and hia grascious 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) - The author of the code this model was built around: - Alexander Zlokapa (Massachusetts Institute of Technology, Cambridge, MA 02139, USA)

Usage

'''python import qamlz

Generate the Environment (Data) for the Model

env = qamlz.TrainEnv(X_train, y_train, endpoint_url, account_token, [X_val, y_val, fidelity])

Generate the Config (Hyperparameters) for the Model

config = qamlz.ModelConfig()

Generate the Model and Begin Training

model = qamlz.ModelConfig(config, env) model.train() '''

Developing Hola Amigos

To install qamlz, along with the tools you need to develop and run tests, run the following in your virtualenv: '''bash $ pip install -e .[dev] '''

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

qamlz-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

qamlz-0.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file qamlz-0.0.1.tar.gz.

File metadata

  • Download URL: qamlz-0.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for qamlz-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5ce421bd3100fdd19e369699765dd10989ec5a7a7ca21599eb982ff530050e54
MD5 ee6b2e481a6ae038033c3bedef59a130
BLAKE2b-256 307ff71e1b24d158b28d643f7d1a683058127e8baf499a0bf845425b61700ce1

See more details on using hashes here.

File details

Details for the file qamlz-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: qamlz-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for qamlz-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a811df62997e6801708a0951a16257d9c49195fd65759f7bf905ffe9d88153a
MD5 6b4dfbcb5f7acbbe96eeb6ee6ed046e3
BLAKE2b-256 f7a2601e734048d882b2e58ecc905dcb0713f4f18ff1175fefeae20e07dffbf8

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