Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2025
Data sources: ZENODO
ZENODO
Software . 2025
Data sources: Datacite
ZENODO
Software . 2025
Data sources: Datacite
versions View all 2 versions
addClaim

portfolio_optimizer.py — Disruptive Quantum-Inspired Portfolio Optimizer

Authors: B, Britt;

portfolio_optimizer.py — Disruptive Quantum-Inspired Portfolio Optimizer

Abstract

portfolio_optimizer.py v1.2 — Disruptive Quantum-Inspired Portfolio Optimizer Features • Zero extra setup — single file (only NumPy/SciPy) • Real-world Markowitz optimization (50–200+ assets) with non-convex constraints • Quantum-inspired simulated annealing with proper risk-adjusted utility • Efficient Dirichlet + swap moves for fast global convergence • Full support for cardinality, L1 turnover, target return (penalty), weight bounds • Classical SLSQP baseline (convex cases only) • High-quality efficient frontier via risk_aversion sweep (classic bullet shape) • Professional visualization with highlighted optimal portfolio • Exports weights, statistics, and results to JSON/CSV Dependencies • Requires numpy (>=1.21.0), scipy (>=1.7.0) — standard in scientific Python • matplotlib (>=3.5.0) optional for --plot Intended for portfolio managers, quantitative analysts, and asset allocators requiring globally optimal solutions under complex real-world constraints — delivering superior performance where classical convex solvers fail, with a clear pathway to true quantum annealing/QAOA advantage. Real usage: python portfolio_optimizer.py --returns mu.csv --cov sigma.csv --risk_aversion 4 --cardinality 25 --turnover_limit 0.3 --quantum_annealing --plot python portfolio_optimizer.py --returns mu.csv --cov sigma.csv --target_return 0.12 --quantum_annealing --output results.json Made by Britt (2025) — MIT License

Keywords

quantitative finance, NISQ Algorithms, efficient frontier, quantum annealing, markowitz, quantum finance, portfolio optimization, risk management, cardinality constraint, cli tool, asset allocation, python, mean-variance, turnover constraint, simulated annealing, QAOA

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average