qml.qnn

This module contains classes and functions for constructing quantum neural networks from QNodes.

Classes

KerasLayer(qnode, weight_shapes, output_dim)

Converts a QNode() to a Keras Layer.

TorchLayer(qnode, weight_shapes[, init_method])

Converts a QNode() to a Torch layer.

Contents