ycchen1989 / pennylane-qulacs

Contains the PennyLane Qulacs plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug fix

This version is compatible with the default.qubit in pennylane. We put an additional minus sign in front of the circuit parameters

DEPRECATED

This repository has been moved to XanaduAI/pennylane-qulacs.

PennyLane Qulacs Plugin

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

Qulacs is a high-performance quantum circuit simulator for simulating large, noisy or parametric quantum circuits. Implemented in C/C++ and with python interface, Qulacs achieved both high speed circuit simulation and high usability.

This PennyLane plugin allows the use of the Qulacs simulator as device for PennyLane.

Features

  • Provides qulacs.simulator device to be used with PennyLane.
  • Combine Qulacs high performance simulator with PennyLane's automatic differentiation and optimization.

Installation

Installing the latest master version can be done directly using pip:

pip install git+https://github.com/soudy/pennylane-qulacs@master

or by cloning this repo:

git clone https://github.com/soudy/pennylane-qulacs
cd pennylane-qulacs
pip install .

Benchmarks

We ran a 100 executions of 4 layer quantum neural network strongly entangling layer and compared the runtimes between CPU and GPU.

Qulacs PennyLane plugin benchmarks Qulacs PennyLane plugin benchmarks table

About

Contains the PennyLane Qulacs plugin


Languages

Language:Python 100.0%