-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade pulse notebooks (#294)
Co-authored-by: Abe Coull <[email protected]>
- Loading branch information
1 parent
c41aa65
commit 11acaf7
Showing
28 changed files
with
10,799 additions
and
9,506 deletions.
There are no files selected for viewing
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
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 @@ | ||
{"instructions": [{"noise": {"__class__": "Depolarizing", "probability": 0.1, "qubit_count": 1, "ascii_symbols": ["DEPO(0.1)"]}, "criteria": {"__class__": "GateCriteria", "gates": ["H"], "qubits": null}}, {"noise": {"__class__": "Depolarizing", "probability": 0.1, "qubit_count": 1, "ascii_symbols": ["DEPO(0.1)"]}, "criteria": {"__class__": "GateCriteria", "gates": null, "qubits": null}}, {"noise": {"__class__": "AmplitudeDamping", "gamma": 0.1, "qubit_count": 1, "ascii_symbols": ["AD(0.1)"]}, "criteria": {"__class__": "GateCriteria", "gates": null, "qubits": [0]}}, {"noise": {"__class__": "PauliChannel", "probX": 0.1, "probY": 0.2, "probZ": 0.3, "qubit_count": 1, "ascii_symbols": ["PC(0.1,0.2,0.3)"]}, "criteria": {"__class__": "GateCriteria", "gates": ["X"], "qubits": [0]}}, {"noise": {"__class__": "PhaseFlip", "probability": 0.02, "qubit_count": 1, "ascii_symbols": ["PF(0.02)"]}, "criteria": {"__class__": "ObservableCriteria", "observables": ["X"], "qubits": [0]}}, {"noise": {"__class__": "BitFlip", "probability": 0.01, "qubit_count": 1, "ascii_symbols": ["BF(0.01)"]}, "criteria": {"__class__": "ObservableCriteria", "observables": ["Z"], "qubits": [1]}}]} |
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,10 @@ | ||
|
||
OPENQASM 3; | ||
|
||
qubit[2] q; | ||
bit[2] c; | ||
|
||
h q[0]; | ||
cnot q[0], q[1]; | ||
|
||
c = measure q; |
60 changes: 60 additions & 0 deletions
60
examples/hybrid_jobs/0_Creating_your_first_Hybrid_Job/testJob/results.json
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,60 @@ | ||
{ | ||
"braketSchemaHeader": { | ||
"name": "braket.jobs_data.persisted_job_data", | ||
"version": "1" | ||
}, | ||
"dataDictionary": { | ||
"counts": 10, | ||
"angles": 0, | ||
"task summary": "successfully tested", | ||
"estimated cost": 0, | ||
"params": [ | ||
0.318286378384603, | ||
0.8066883422428826, | ||
0.9965059377813476, | ||
0.3896290997335934, | ||
0.5206564140072295, | ||
-0.2764708825453678, | ||
-0.31186280728130517, | ||
1.0301286608615072, | ||
0.9152848732773509, | ||
0.5028883778151009, | ||
-0.08787270522674204, | ||
0.7817302047193129, | ||
0.9277263943430585, | ||
0.013617062714961346, | ||
0.33473964459716515, | ||
0.5093557157601054, | ||
-0.10513831465073813, | ||
0.7394344226370994, | ||
0.7317135947685797, | ||
0.22689351139220243, | ||
0.6120112028390869, | ||
0.12146385313274964, | ||
1.0822225752513248, | ||
-0.03458224708388502, | ||
-0.1581787215562068, | ||
0.6144033545499605, | ||
-0.03156199169778191, | ||
0.9605311859582252, | ||
0.29158765472875725, | ||
0.4800667308210175, | ||
0.5278158981111709, | ||
0.2207241644995396, | ||
-0.018214728388751607, | ||
1.0549851014368496, | ||
0.454472915580011, | ||
0.6728275933353882, | ||
0.5217854000399934, | ||
0.39243334991421674, | ||
0.9821097084351791, | ||
0.5170651734719544, | ||
0.7873812585011286, | ||
0.8900537481277946, | ||
0.21275468530086444, | ||
0.9275566358136947, | ||
0.39455123195247166 | ||
] | ||
}, | ||
"dataFormat": "plaintext" | ||
} |
Binary file added
BIN
+384 Bytes
examples/hybrid_jobs/1_Quantum_machine_learning_in_Amazon_Braket_Hybrid_Jobs/data.npy
Binary file not shown.
60 changes: 60 additions & 0 deletions
60
examples/hybrid_jobs/7_Running_notebooks_as_jobs/result/testJob/results.json
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,60 @@ | ||
{ | ||
"braketSchemaHeader": { | ||
"name": "braket.jobs_data.persisted_job_data", | ||
"version": "1" | ||
}, | ||
"dataDictionary": { | ||
"counts": 10, | ||
"angles": 0, | ||
"task summary": "successfully tested", | ||
"estimated cost": 0, | ||
"params": [ | ||
0.318286378384603, | ||
0.8066883422428826, | ||
0.9965059377813476, | ||
0.3896290997335934, | ||
0.5206564140072295, | ||
-0.2764708825453678, | ||
-0.31186280728130517, | ||
1.0301286608615072, | ||
0.9152848732773509, | ||
0.5028883778151009, | ||
-0.08787270522674204, | ||
0.7817302047193129, | ||
0.9277263943430585, | ||
0.013617062714961346, | ||
0.33473964459716515, | ||
0.5093557157601054, | ||
-0.10513831465073813, | ||
0.7394344226370994, | ||
0.7317135947685797, | ||
0.22689351139220243, | ||
0.6120112028390869, | ||
0.12146385313274964, | ||
1.0822225752513248, | ||
-0.03458224708388502, | ||
-0.1581787215562068, | ||
0.6144033545499605, | ||
-0.03156199169778191, | ||
0.9605311859582252, | ||
0.29158765472875725, | ||
0.4800667308210175, | ||
0.5278158981111709, | ||
0.2207241644995396, | ||
-0.018214728388751607, | ||
1.0549851014368496, | ||
0.454472915580011, | ||
0.6728275933353882, | ||
0.5217854000399934, | ||
0.39243334991421674, | ||
0.9821097084351791, | ||
0.5170651734719544, | ||
0.7873812585011286, | ||
0.8900537481277946, | ||
0.21275468530086444, | ||
0.9275566358136947, | ||
0.39455123195247166 | ||
] | ||
}, | ||
"dataFormat": "plaintext" | ||
} |
4 changes: 4 additions & 0 deletions
4
examples/pennylane/3_Hydrogen_Molecule_geometry_with_VQE/structure.xyz
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,4 @@ | ||
2 | ||
in Angstrom | ||
H 0.00000 0.00000 -0.35000 | ||
H 0.00000 0.00000 0.35000 |
Large diffs are not rendered by default.
Oops, something went wrong.
565 changes: 565 additions & 0 deletions
565
examples/pulse_control/2_Native_gate_calibrations.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
...control/2_Bell_pair_with_pulses_OQC.ipynb → ...control/3_Bell_pair_with_pulses_OQC.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
541 changes: 0 additions & 541 deletions
541
examples/pulse_control/3_Bell_pair_with_pulses_Rigetti.ipynb
This file was deleted.
Oops, something went wrong.
539 changes: 539 additions & 0 deletions
539
examples/pulse_control/4_Bell_pair_with_pulses_Rigetti.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
548 changes: 0 additions & 548 deletions
548
examples/pulse_control/4_Build_single_qubit_gates.ipynb
This file was deleted.
Oops, something went wrong.
539 changes: 539 additions & 0 deletions
539
examples/pulse_control/5_Build_single_qubit_gates.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.