qml.qnnΒΆ

This module contains functionality for converting PennyLane QNodes into layers that are compatible with Keras and PyTorch.

Note

Check out our Keras and Torch tutorials for further details.

Classes

KerasLayer

Converts a QNode() to a Keras Layer.

TorchLayer

Converts a QNode() to a Torch layer.