ymd-h / pennylane-cutensornet

(unofficial) PennyLane plugin for cuTensorNet of NVIDIA cuQuantum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

(unofficial) PennyLane plugin for cuTensorNet of NVIDIA cuQuantum

License:MIT License


Languages

Language:Python 100.0%