-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The only thing left is running the cases on ionQ. I have to take away "./Data/results_qaoa_local.npy" it was to heavy
- Loading branch information
1 parent
f4e96c0
commit e803774
Showing
63 changed files
with
20,912 additions
and
0 deletions.
There are no files selected for viewing
2,622 changes: 2,622 additions & 0 deletions
2,622
.ipynb_checkpoints/Portfolio_optimization_for_SP500-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
1,577 changes: 1,577 additions & 0 deletions
1,577
.ipynb_checkpoints/Portfolio_optimization_mdls_comparison-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
173 changes: 173 additions & 0 deletions
173
.ipynb_checkpoints/Portfolio_optimization_visualization-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
OPENQASM 2.0; | ||
include "hqslib1.inc"; | ||
|
||
qreg a1[1]; | ||
qreg q60[4]; | ||
creg c00[4]; | ||
creg c01[1]; | ||
creg c02[1]; | ||
creg c03[1]; | ||
U1q(2.75*pi,0.5*pi) q60[0]; | ||
U1q(1.5*pi,1.0*pi) q60[1]; | ||
U1q(0.5*pi,0.5*pi) q60[2]; | ||
U1q(0.5*pi,0.5*pi) q60[3]; | ||
ZZ q60[2],q60[1]; | ||
U1q(0.5*pi,0.5*pi) q60[1]; | ||
ZZ q60[1],q60[0]; | ||
U1q(1.75*pi,0.0*pi) q60[0]; | ||
ZZ q60[2],q60[0]; | ||
U1q(2.25*pi,0.5*pi) q60[0]; | ||
ZZ q60[1],q60[0]; | ||
U1q(3.75*pi,0.0*pi) q60[0]; | ||
U1q(1.0*pi,0.4851347321726651*pi) q60[1]; | ||
ZZ q60[2],q60[0]; | ||
U1q(0.5*pi,1.5*pi) q60[0]; | ||
U1q(1.0*pi,0.9554041965179962*pi) q60[2]; | ||
RZZ(0.014865267827334439*pi) q60[1],q60[0]; | ||
RZZ(0.029730535654669543*pi) q60[2],q60[0]; | ||
U1q(1.0*pi,1.9702694643453373*pi) q60[1]; | ||
RZZ(0.01486526782733466*pi) q60[3],q60[0]; | ||
U1q(1.0*pi,1.4554041965179962*pi) q60[2]; | ||
U1q(3.4864700749295006*pi,0.36482053899315936*pi) q60[0]; | ||
RZZ(0.014865267827334541*pi) q60[2],q60[1]; | ||
rz(3.6351794610068406*pi) q60[0]; | ||
U1q(1.0*pi,1.9702694643453373*pi) q60[1]; | ||
RZZ(0.014865267827334933*pi) q60[3],q60[1]; | ||
U1q(3.486470074929499*pi,0.35537437729522114*pi) q60[1]; | ||
U1q(1.0*pi,1.0*pi) q60[3]; | ||
rz(1.6446256227047789*pi) q60[1]; | ||
RZZ(0.029730535654669654*pi) q60[3],q60[2]; | ||
U1q(3.4864700749295006*pi,1.4608233026473822*pi) q60[2]; | ||
U1q(0.4864700749294783*pi,0.5054191061293951*pi) q60[3]; | ||
rz(0.5391766973526178*pi) q60[2]; | ||
rz(3.494580893870605*pi) q60[3]; | ||
barrier q60[0],q60[1],q60[2],q60[3],a1[0]; | ||
measure q60[0] -> c00[0]; | ||
measure q60[1] -> c00[1]; | ||
measure q60[2] -> c00[2]; | ||
measure q60[3] -> c00[3]; |
Oops, something went wrong.