Blog

Circuit of the month Oct 21: option pricing shortfall

1
October
,
2021

Overview

Our October '21 circuit of the month calculates the expected shortfall for a financial option. When performing financial risk analysis, one may be interested in calculating the conditional value at risk, which is also known as the expected shortfall.

Available downloads

Possible modifications

There are many possible variations for this circuit. For instance, one could change the qubit count (line 2) and explore the tradeoff between depth and width. Clearly, one could also change the parameters of the gaussian (lines 11-16).

One could also change the finance function from "expected shortfall" to other functions. For instance, change to a European Call Option and generate any function using Chebyshev polynomial approximation:

References

  • Paul Glasserman, Monte Carlo Methods in Financial Engineering. Springer-Verlag New York, 2003, p. 596.
  • Gilles Brassard, Peter Hoyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation. Contemporary Mathematics 305 (2002)
  • Woerner, S., Egger, D.J. Quantum risk analysis. npj Quantum Inf 5, 15 (2019).

Next month

What would you like to see in next month's circuit? Let us know using the 'Contact us' button on the top right.

The full circuit

The circuit that was generated, within a few seconds, by the Classiq Quantum Algorithm Design platform is below:

Overview

Our October '21 circuit of the month calculates the expected shortfall for a financial option. When performing financial risk analysis, one may be interested in calculating the conditional value at risk, which is also known as the expected shortfall.

Available downloads

Possible modifications

There are many possible variations for this circuit. For instance, one could change the qubit count (line 2) and explore the tradeoff between depth and width. Clearly, one could also change the parameters of the gaussian (lines 11-16).

One could also change the finance function from "expected shortfall" to other functions. For instance, change to a European Call Option and generate any function using Chebyshev polynomial approximation:

References

  • Paul Glasserman, Monte Carlo Methods in Financial Engineering. Springer-Verlag New York, 2003, p. 596.
  • Gilles Brassard, Peter Hoyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation. Contemporary Mathematics 305 (2002)
  • Woerner, S., Egger, D.J. Quantum risk analysis. npj Quantum Inf 5, 15 (2019).

Next month

What would you like to see in next month's circuit? Let us know using the 'Contact us' button on the top right.

The full circuit

The circuit that was generated, within a few seconds, by the Classiq Quantum Algorithm Design platform is below:

See Also

No items found.

Start Creating Quantum Software Without Limits

contact us