Skip to content

Commit

Permalink
Update cut finding dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Jan 9, 2024
1 parent aa280e8 commit 654ec7c
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 18 deletions.
3 changes: 3 additions & 0 deletions circuit_knitting/cutting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
:toctree: ../stubs/
:nosignatures:
find_cuts
cut_wires
expand_observables
partition_circuit_qubits
Expand Down Expand Up @@ -80,6 +81,7 @@
cutqc.reconstruct_full_distribution
"""

from .cut_finding import find_cuts
from .cutting_decomposition import (
partition_circuit_qubits,
partition_problem,
Expand All @@ -93,6 +95,7 @@
from .wire_cutting_transforms import cut_wires, expand_observables

__all__ = [
"find_cuts",
"partition_circuit_qubits",
"partition_problem",
"cut_gates",
Expand Down
Empty file.
1 change: 1 addition & 0 deletions circuit_knitting/cutting/cut_finding/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .cut_finding import find_cuts
19 changes: 19 additions & 0 deletions circuit_knitting/cutting/cut_finding/cut_finding.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This code is a Qiskit project.

# (C) Copyright IBM 2023.

# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

"""Automatically find cut locations in a quantum circuit."""

from __future__ import annotations

from qiskit import QuantumCircuit

def find_cuts(circuit: QuantumCircuit):
pass
35 changes: 17 additions & 18 deletions docs/circuit_cutting/tutorials/LO_circuit_cut_finder.ipynb

Large diffs are not rendered by default.

0 comments on commit 654ec7c

Please sign in to comment.