Skip to content

Commit

Permalink
Adding a test and formatting QSD. Additionally, I make TreeScan exten…
Browse files Browse the repository at this point in the history
…d ScanningGate to signify that it is an extension of the same function.
  • Loading branch information
jkalloor3 committed Sep 26, 2024
1 parent 4e2a217 commit 491935b
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 116 deletions.
4 changes: 2 additions & 2 deletions bqskit/passes/processing/treescan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
from typing import Any
from typing import Callable

from bqskit.compiler.basepass import BasePass
from bqskit.compiler.passdata import PassData
from bqskit.ir.circuit import Circuit
from bqskit.ir.operation import Operation
from bqskit.ir.opt.cost.functions import HilbertSchmidtResidualsGenerator
from bqskit.ir.opt.cost.generator import CostFunctionGenerator
from bqskit.passes.processing.scan import ScanningGateRemovalPass
from bqskit.runtime import get_runtime
from bqskit.utils.typing import is_integer
from bqskit.utils.typing import is_real_number

_logger = logging.getLogger(__name__)


class TreeScanningGateRemovalPass(BasePass):
class TreeScanningGateRemovalPass(ScanningGateRemovalPass):
"""
The TreeScanningGateRemovalPass class.
Expand Down
Loading

0 comments on commit 491935b

Please sign in to comment.