ymd-h / pennylane-cutensornet

(unofficial) PennyLane plugin for cuTensorNet of NVIDIA cuQuantum
MIT License
0 stars 0 forks source link

PennyLane Plugin for cuTensorNet of NVIDIA cuQuantum

This repository is 3rd party unofficial PennyLane plugin for cuTensorNet of NVIDIA cuQuantum.

Note
The official PennyLane-Lightning-GPU plugin supports cuStateVec of cuQuantum

Usage

This plugin provides "cuquantum.cutensornet" device. The device can take optional argument mode to specify intermediate circuit.

import pennylane as qml

n_qubits = 3
mode = "cirq" # or "qiskit"
dev = qml.device("cuquantum.cutensornet", wires=n_qubits, mode=mode)

References