Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions | Variables
squander.gates.gatesupport Namespace Reference

Functions

def cleanup_repo (temp_dir)
 
def download_and_collect_qasm (repo_urls)
 
def squander_gate_support_check ()
 

Variables

 SUPPORTED_GATES
 
 SUPPORTED_GATES_NAMES
 

Function Documentation

◆ cleanup_repo()

def squander.gates.gatesupport.cleanup_repo (   temp_dir)
Deletes the temporary repository folder created by download_and_collect_qasm.

Definition at line 61 of file squander/gates/gatesupport.py.

Here is the caller graph for this function:

◆ download_and_collect_qasm()

def squander.gates.gatesupport.download_and_collect_qasm (   repo_urls)
Downloads GitHub repositories as zip archives, extracts them into a temporary
directory, and returns the list of all .qasm file paths found, along with
the temp folder path (for later cleanup).

Args:
    repo_urls (list[str]): List of GitHub repository URLs.

Returns:
    (list[str], str): List of QASM file paths and the temp directory path.

Definition at line 14 of file squander/gates/gatesupport.py.

Here is the caller graph for this function:

◆ squander_gate_support_check()

def squander.gates.gatesupport.squander_gate_support_check ( )

Definition at line 67 of file squander/gates/gatesupport.py.

Here is the call graph for this function:

Variable Documentation

◆ SUPPORTED_GATES

squander.gates.gatesupport.SUPPORTED_GATES

Definition at line 11 of file squander/gates/gatesupport.py.

◆ SUPPORTED_GATES_NAMES

squander.gates.gatesupport.SUPPORTED_GATES_NAMES

Definition at line 12 of file squander/gates/gatesupport.py.