PennyLane-Honeywell Plugin

Release:0.14.0

The PennyLane-Honeywell plugin provides the ability to use Honeywell Quantum Solutions’ ion-trap quantum computing hardware with PennyLane.

PennyLane provides open-source tools for quantum machine learning, quantum computing, quantum chemistry, and hybrid quantum-classical computing.

Honeywell Quantum Solutions provides access to ion-trap quantum computing hardware over the cloud.

Note

The PennyLane-Honeywell plugin is currently in beta release. Expect some features to be updated or change in the future.

Once the PennyLane-Honeywell plugin is installed, the Honeywell Quantum Solutions online devices can be accessed straight away in PennyLane, without the need to import any additional packages.

Devices

PennyLane-Honeywell provides Honeywell Quantum Solutions hardware devices for PennyLane:


Remote backend access

The user will need to obtain access credentials for the Honeywell Quantum Solutions platform in order to use these remote devices. These credentials should be provided to PennyLane via a configuration file or environment variable. Specifically, the variable HQS_TOKEN must contain a valid access key for Honeywell’s online platform.

Installation

PennyLane-Honeywell only requires PennyLane for use, no additional external frameworks are needed. The plugin can be installed via pip:

$ python3 -m pip install pennylane-honeywell

Alternatively, you can install PennyLane-Honeywell from the source code by navigating to the top directory and running

$ python3 setup.py install

If you currently do not have Python 3 installed, we recommend Anaconda for Python 3, a distributed version of Python packaged for scientific computation.

Software tests

To ensure that PennyLane-Honeywell is working correctly after installation, the test suite can be run by navigating to the source code folder and running

$ make test

Documentation

To build the HTML documentation, go to the top-level directory and run

$ make docs

The documentation can then be found in the doc/_build/html/ directory.

Support

If you are having issues, please let us know by posting the issue on our GitHub issue tracker.

Honeywell Quantum Solutions Devices

The PennyLane-Honeywell plugin provides the ability for PennyLane to access devices available via Honeywell Quantum Solutions’ cloud hardware service.

Cloud ion-trap machines

This PennyLane device connects you to ion-trap machines available from Honeywell Quantum Solutions. Once the plugin has been installed, you can use this device directly in PennyLane by specifying "honeywell.hqs" and providing the name of the online hardware machine you wish to access:

import pennylane as qml

dev = qml.device("honeywell.hqs", "machine_name", wires=2)

@qml.qnode(dev)
def circuit(w, x, y, z):
    qml.RX(w, wires=0)
    qml.CNOT(wires=[0,1])
    qml.RY(0.5, wires=0)
    return qml.expval(qml.PauliZ(0))

where machine_name is a string specifying the specific online hardware you wish to use. Contact Honeywell Quantum Solutions to receive platform access and machine names.

Remote backend access

The user will need to obtain access credentials for the Honeywell Quantum Solutions platform in order to use these remote devices. These credentials should be provided to PennyLane via a configuration file or environment variable. Specifically, the variable HQS_TOKEN must contain a valid access key for Honeywell’s online platform.

pennylane_honeywell

This section contains the API documentation for the PennyLane-Honeywell plugin.

Warning

Unless you are a PennyLane plugin developer, you likely do not need to use these classes and functions directly.

See the overview page for more details using the available HQS devices with PennyLane.

This is the top-level module from which all PennyLane-Honeywell device classes can be directly imported.

Classes

HQSDevice(wires, machine[, shots, api_key, …]) Honeywell Quantum Services device for PennyLane.

Class Inheritance Diagram

Inheritance diagram of pennylane_honeywell.device.HQSDevice