Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raz-mon/quantum-computation-project
A Quantum Computation project, conducted under the guidance of Dr. Shira Chapman.
https://github.com/raz-mon/quantum-computation-project
quantum quantum-computing
Last synced: 7 days ago
JSON representation
A Quantum Computation project, conducted under the guidance of Dr. Shira Chapman.
- Host: GitHub
- URL: https://github.com/raz-mon/quantum-computation-project
- Owner: raz-mon
- Created: 2021-10-11T05:59:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T07:44:03.000Z (over 2 years ago)
- Last Synced: 2024-10-29T11:32:32.730Z (about 2 months ago)
- Topics: quantum, quantum-computing
- Language: Python
- Homepage:
- Size: 2.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quantum-Computation-Project
The code files of the project I performed in Quantum Computation, under the guidance of Shira Chapman.## How to run the project:
The 'whole_process.py' module contains the whole process (surprisingly) of generating a TFD state given a value for beta (1/T) and runnig the circuit.
It imports the functions 'circ25' and 'circ25_noMeasurements_forFidelity' from the module 'util.py', which in turn recieves a TFD state, a temperature (in the form of beta) and an initial state for q0 (in the form of a string, see module), runs the circuit of the experiment on the wanted simulator and returns the results.In 'whole_process.py', the function 'run_exp' and 'run_exp_fid' perform the whole process of altering the temperature in a wanted range (via beta), performing the experiment (running the circuit and collecting the results) and writing the results in a .csv file.
From these results, we later generate plots and fits using the 'plots.py' and 'fits.py' modules, in which the relevant functions compute the relevant figures, save them and show them (notice that not all save, and not all show for comfort reasons - for example running the experiment for 1000 beta's --> Don't want to stop the computation each iteration).
That's quite it. I have not uploaded all of the data I have collected (used for the graphs of the project) since it's quite a lot. If interested in it, feel free to email me at [email protected] or at [email protected], and I'll hapilly transfer the files by request.
Have fun :)