Skip to content

Source Code zu QSW 2022 Publikation zur Evaluation von N-Version Architekturpattern für Quantenschaltkreise

License

Notifications You must be signed in to change notification settings

fzi-forschungszentrum-informatik/sequoia-qsw22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quantumNVersionEval

This repository provides the necessary material to reproduce the experiments described in our paper "Fault-tolerant Hybrid Quantum Software System" submitted to QSW 2022.

Setup

In order to run the experiments the necessary python packages have to be installed. This can be done using pip -r install requirements.txt.

Additionally if the experiments are to be run on the same backend as we did in the paper one has to provide a valid IBM access for the quantum device. This is encapsulated in the file activateAcc.py. Normally this file should contain code similar to the following:

from qiskit import IBMQ

def activateAcc():
    APITOKEN = 'token'
    APIURL = 'https://auth.de.quantum-computing.ibm.com/api'
    IBMQ.enable_account(APITOKEN, APIURL)

where token is your IBMQ token.

Run

The experiments are provided by the python script "voterPatternEval.py". To run new experiments call "python voterPatternEval.py run N" where N is the number of circuits you would like to use for the experiment. To get a summary of the results presented in the paper run "python voterPatternEval.py interpret". Several options are available in order to configure the output and the experiment setup. To view all options run the script with the --help option (note the --help option for the subcommands as well e.g. "python voterPatternEval.py run --help").

About

Source Code zu QSW 2022 Publikation zur Evaluation von N-Version Architekturpattern für Quantenschaltkreise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages