merlin.algorithms package

Merlin algorithms package containing various quantum machine learning algorithms.

Modules

merlin.algorithms.feed_forward module

Feed-forward execution blocks and staged runtime helpers for conditional photonic circuits.

merlin.algorithms.kernels module

Quantum feature maps, kernel builders, and fidelity-kernel modules.

merlin.algorithms.layer module

The public QuantumLayer interface.

merlin.algorithms.layer_utils module

Utility functions for the QuantumLayer.

merlin.algorithms.loss module

Loss functions such as NKernelAlignment for kernel training workflows.

merlin.algorithms.module module

Shared Merlin module base classes used by the higher-level algorithm APIs.