Skip to main content

View on GitHub

Open this notebook in GitHub to run it yourself
This notebook covers the implementation of the Integration Amplitude Loading Method for the autocallables based on [1] and [2] using the Classiq platform’s Qmod language.

Data Definitions

Gaussian State Preparation

Rescalings

Compute RTmaxR_T^{max} resulting from discretization:
In two’s complement, given NN as the number of qubits, represent from 2N1-2^{N-1} and 2N112^{N-1}-1:

Compute Constant Rotations

Verifications

Output:
Output:
Output:
Output:
Output:
Compute constants for comparisons

Classical Payoff

Output:

Integration Method Circuit Synthesis

IQAE Functions and QStruct

Base Simulator Synthesis

Output:
Output:
Execution takes a lot of time. Examine the results:
Output:

References

[1] Francesca Cibrario et al. (2024). Quantum Amplitude Loading for Rainbow Options Pricing. Preprint. [2] Shouvanik Chakrabarti et al. (2021). A Threshold for Quantum Advantage in Derivative Pricing, Quantum 5, 463.