|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Functions | |
| def | cleanup_repo (temp_dir) |
| def | download_and_collect_qasm (repo_urls) |
| def | squander_gate_support_check () |
Variables | |
| dictionary | SUPPORTED_GATES = {x for n in dir(gate) for x in (getattr(gate, n),) if not n.startswith("_") and issubclass(x, gate.Gate) and n != "Gate"} |
| dictionary | SUPPORTED_GATES_NAMES = {n for n in dir(gate) if not n.startswith("_") and issubclass(getattr(gate, n), gate.Gate) and n != "Gate"} |
| def gatesupport.cleanup_repo | ( | temp_dir | ) |
Deletes the temporary repository folder created by download_and_collect_qasm.
Definition at line 61 of file benchmarks/partitioning/gatesupport.py.

| def 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 benchmarks/partitioning/gatesupport.py.

| def gatesupport.squander_gate_support_check | ( | ) |
Definition at line 67 of file benchmarks/partitioning/gatesupport.py.

| dictionary gatesupport.SUPPORTED_GATES = {x for n in dir(gate) for x in (getattr(gate, n),) if not n.startswith("_") and issubclass(x, gate.Gate) and n != "Gate"} |
Definition at line 11 of file benchmarks/partitioning/gatesupport.py.
| dictionary gatesupport.SUPPORTED_GATES_NAMES = {n for n in dir(gate) if not n.startswith("_") and issubclass(getattr(gate, n), gate.Gate) and n != "Gate"} |
Definition at line 12 of file benchmarks/partitioning/gatesupport.py.
1.8.13