hpc-qc-workflows

Analyzing the use of HPC-QC Workflows

https://github.com/sam-bieberich/hpc-qc-workflows

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Analyzing the use of HPC-QC Workflows

Basic Info
  • Host: GitHub
  • Owner: Sam-Bieberich
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 2.45 MB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

HPC-QC Workflows

Files Explained:

bell_state.ipynb

This file is a very introductory program with only two cells, introducing qiskit and how to view your quantum circuits with the .draw() command. The Bell State is created, which entangles two qubits together.

Bell State output


getting_started.ipynb

This file expands on the Bell State notebook. In this file, you make a quantum circuit for the Bell State once again, but this time, it introduces users to submitting jobs. The source for this code is Qiskit's YouTube video: https://www.youtube.com/watch?v=1kRfHNUbkrg&list=PLOFEBzvs-VvpHs84vFdRVIl3Wlg81j8_x&index=1&t=302s

Full Bell State

Results


grovers_complete.ipynb

Final Grover's algorithm used in the research paper. Generates a random number between 1 and 15 and creates a Grover Oracle for it.

Grover circuit

Grover Results Histogram

Grover Statevector Results


shors_complete.ipynb

Completed Shor's Algorithm file. Generates a random number between 2 and 14 and finds the factors of 15. Images below depict the circuit and diagrams with the expected counts (taking into account error due to noise).

Shors circuit for a = 11

Shors results on a simulator

Shors results with a real quantum computer


autotspupdated.ipynb

Final TSP file. In the first part, networkx creates a random TSP map, then a circuit is composed using code from the Qiskit Textbook. To run the program, ensure that you have access to a backend that has enough qubits, as 14 is not available in the free, publicly available IBMQ resource on a real QC (as of July 2022), but it can also be run on a simulator.

Note: Access to IBMQ resources with higher qubit counts was supplied by Oak Ridge National Lab's National Center for Computational Sciences.

TSP Circuit (1 of 3)

TSP NetworkX map

TSP results window


autotspparsl.ipynb

This last file contains the same code as the previous, autoTSPupdated.ipynb, however, it is split into decorated functions to perform a parsl workflow. This workflow has the capability to combine HPC resources (Andes Linux Cluster) and Quantum Computing cloud resources (IBMQ) into a single workflow, allowing for greater ease of access for researchers in the field.

Note: This program will download PNG files of the histograms to your current directory when used; use with caution. It is encouraged to modify the location where the files are downloaded in the code.

Owner

  • Name: Sam B
  • Login: Sam-Bieberich
  • Kind: user
  • Location: College Station, Texas
  • Company: Texas A&M University

Texas A&M EE Major, Class of '25

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Bieberich"
  given-names: "Samuel"
  orcid: "https://orcid.org/0000-0001-9631-647X"
title: "HPC-QC-Workflows"
version: 1.0.0
doi: 10.48550/arXiv.2310.03286
date-released: 2022-08-08
url: "https://github.com/Sam-Bieberich/HPC-QC-Workflows"

GitHub Events

Total
  • Watch event: 1
  • Push event: 1
Last Year
  • Watch event: 1
  • Push event: 1