QQuantLib.qml4var

This package implements the mandatory modules and functions to train a Parametric Quantum Circuit (PQC) that can be used as surrogate models of complex and time consuming financial Cumulative Distribution Functions (CDF) using the myQLM EVIDEN software.

The following modules are presented:

  • data_utils: This module contains functions for generating suitable datasets for training PQCs for CDF evaluation.

  • architectures: This module implements a hardware efficient ansatz PQC and define the measurement observable.

  • plugins: This module contains home made myQLM Plugins used for evaluating PQCs for a set of trainable and feature parameters.

  • myqlm_workflows: This module implements workflows for evaluating the PQCs.

  • losses: This module implements several loss functions.

  • adam: This module implements the ADAM optimizer.