• Stars
    star
    186
  • Rank 207,316 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 27 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The PennyLane-Qiskit plugin integrates the Qiskit quantum computing framework and IBM Q with PennyLane.

PennyLane-Qiskit Plugin

GitHub Workflow Status (branch) Codecov coverage CodeFactor Grade Read the Docs PyPI PyPI - Python Version

The PennyLane-Qiskit plugin integrates the Qiskit quantum computing framework with PennyLane's quantum machine learning capabilities.

PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.

Qiskit is an open-source framework for quantum computing.

Features

  • Provides three devices to be used with PennyLane: qiskit.aer, qiskit.basicaer and qiskit.ibmq. These devices provide access to the various backends, including the IBM hardware accessible through the cloud.
  • Supports a wide range of PennyLane operations and expectation values across the providers.
  • Combine Qiskit's high performance simulator and hardware backend support with PennyLane's automatic differentiation and optimization.

Installation

This plugin requires Python version 3.8 and above, as well as PennyLane and Qiskit. Installation of this plugin, as well as all dependencies, can be done using pip:

pip install pennylane-qiskit

To test that the PennyLane-Qiskit plugin is working correctly you can run

make test

in the source folder. Tests restricted to a specific provider can be run by executing make test-basicaer, make test-aer, and make test-ibmq.

Note

Tests on the IBMQ device can only be run if a ibmqx_token for the IBM Q experience is configured in the PennyLane configuration file, if the token is exported in your environment under the name IBMQX_TOKEN, or if you have previously saved your account credentials using the new IBMProvider

If this is the case, running make test also executes tests on the ibmq device. By default tests on the ibmq device run with ibmq_qasm_simulator backend and those done by the basicaer and aer device are run with the qasm_simulator backend. At the time of writing this means that the test are "free". Please verify that this is also the case for your account.

Please refer to the plugin documentation as well as to the PennyLane documentation for further reference.

Contributing

We welcome contributions - simply fork the repository of this plugin, and then make a pull request containing your contribution. All contributers to this plugin will be listed as authors on the releases.

We also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects or applications built on PennyLane.

Authors

PennyLane-Qiskit is the work of many contributors.

If you are doing research using PennyLane and PennyLane-Qiskit, please cite our paper:

Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed, Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer, Zeyue Niu, Antal Szรกva, and Nathan Killoran. PennyLane: Automatic differentiation of hybrid quantum-classical computations. 2018. arXiv:1811.04968

Support

If you are having issues, please let us know by posting the issue on our Github issue tracker, or by asking a question in the forum.

License

The PennyLane qiskit plugin is free and open source, released under the Apache License, Version 2.0.

More Repositories

1

pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
Python
2,241
star
2

qml

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.
Python
538
star
3

catalyst

A JIT compiler for hybrid quantum programs in PennyLane
Python
91
star
4

pennylane-lightning

The PennyLane-Lightning plugin provides a fast state-vector simulator written in C++ for use with PennyLane
C++
82
star
5

pennylane-cirq

The PennyLane-Cirq plugin integrates Google's Cirq software library with with PennyLane's quantum machine learning capabilities.
Python
50
star
6

pennylane-lightning-gpu

GPU enabled Lightning simulator for accelerated circuit simulation. See https://github.com/PennyLaneAI/pennylane-lightning for all future development of this project.
C++
49
star
7

pennylane-sf

The PennyLane-SF plugin integrates Xanadu's Strawberry Fields photonic quantum simulators and hardware with PennyLane's quantum machine learning capabilities.
Python
38
star
8

pennylane-rigetti

This PennyLane plugin allows the Rigetti Forest QPUs, QVM, and wavefunction simulator to optimize quantum circuits.
Python
37
star
9

pennylane-qulacs

The PennyLane-Qulacs plugin integrates the Qulacs quantum computing framework with PennyLane's quantum machine learning capabilities.
Python
27
star
10

generative-quantum-states

Official code for the paper "Predicting Properties of Quantum Systems with Conditional Generative Models"
Jupyter Notebook
20
star
11

pennylane-honeywell

The PennyLane-Honeywell plugin integrates Honeywell Quantum Solutions' ion-trap quantum computing hardware with with PennyLane's quantum machine learning capabilities.
Python
19
star
12

PennyLane-qsharp

This plugin allows the full state simulator from the Microsoft Quantum Development Toolkit devices to work with PennyLane.
Python
16
star
13

pennylane-pq

Contains the PennyLane ProjectQ plugin. This plugin provides three devices to work with PennyLane - the ProjectQ IBM device, the ProjectQ quantum simulator, and the ProjectQ classical simulator.
Python
16
star
14

pennylane-lightning-kokkos

Kokkos enabled Lightning simulator for accelerated circuit simulation. See https://github.com/PennyLaneAI/pennylane-lightning for all future development of this project.
C++
15
star
15

PennyLane-IonQ

This PennyLane plugin allows IonQ simulators/hardware to be used as PennyLane devices.
Python
10
star
16

plugin-test-matrix

Scheduled integration tests for the official plugins
Python
9
star
17

lightning-on-hpc

"Hybrid quantum programming with PennyLane Lightning on HPC platforms" accompanying data and workloads
Jupyter Notebook
9
star
18

pennylane-aqt

The PennyLane-AQT plugin integrates Alpine Quantum Technologies' ion-trap quantum computing hardware with with PennyLane's quantum machine learning capabilities.
Python
9
star
19

pennylane.ai

The website for PennyLane
HTML
7
star
20

DatasetsSource

Repo containing the datasets source code.
Python
7
star
21

pennylane-orquestra

The PennyLane-Orquestra plugin integrates the Orquestra workflow management system with PennyLane
Python
6
star
22

diastatic-malt

A tool for source-to-source transformations and operator overloading in Python
Python
5
star
23

Lightning-Unification

This repository will host the Lightning unification work.
C++
3
star
24

benchmark

Benchmarks the PennyLane library using airspeed velocity.
Python
3
star
25

pennylane-sphinx-theme

Sphinx theme for PennyLaneAI repositories
Python
2
star
26

pulse-benchmarks

Some basic benchmarks for `pennylane.pulse`
Jupyter Notebook
2
star
27

differentiable-quantum-transforms

Jupyter Notebook
1
star
28

automation

This repository contains automation code for version bumping PL-plugins
Python
1
star