Skip to content

Rudimentary interface for interacting with ScaffCC from Python to generate OpenQASM

Notifications You must be signed in to change notification settings

singular-value/scaffcc-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

scaffcc-python

Module for interfacing with ScaffCC compilation from Python to generate OpenQASM.

Usage:

    from scaffcc_interface import ScaffCC
    scaffold_code = "// your scaffold code goes here"
    scaffcc = ScaffCC(scaffold_code)  # can optionally pass a scaffold_path kwarg
                                      # default is '../ScaffCC/scaffold.sh'
    openqasm = scaffcc.get_openqasm()

About

Rudimentary interface for interacting with ScaffCC from Python to generate OpenQASM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages