User Guide
Here are a few pages to guide you through your MerLin usage.
Master the QuantumLayer

QuantumLayer essentials
The essentials for using MerLin's main module: the QuantumLayer.

Angle and Amplitude Encoding
Introduction to these two encoding strategies and their tradeoffs.

Encoding Spaces
Interpret PyTorch amplitude tensors with EncodingSpace.
Master the output types and sizes

Measurement Strategy Guide
An overview of the measurement strategies in MerLin.

Computation Spaces Guide
An overview of the computation spaces in MerLin.

A guide to grouping
Master the output sizes of your QuantumLayers with grouping.
Mixing gates and interferometers
Noisy simulations
Send your code to simulators or QPUs
Ready to use quantum models

Photonic QGAN
Photonic quantum generative adversarial network

Photonic QCNN
Photonic quantum convolutional neural network for image classification

ReservoirClassifier
Frozen quantum optical reservoir with a trainable linear readout.
Specific algorithms

Feedforward circuits
Circuits using partial measurements to determine the configuration of the downstream circuit.

Kernels
Introduction to photonic quantum kernel algorithms.



