Skip to content

Commit

Permalink
fix typo: RestoreModelConnectivityPass
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoTy committed Apr 15, 2024
1 parent be4727d commit f35f419
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions bqskit/compiler/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from bqskit.passes.mapping.routing.pam import PAMRoutingPass
from bqskit.passes.mapping.routing.sabre import GeneralizedSabreRoutingPass
from bqskit.passes.mapping.setmodel import ExtractModelConnectivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnevtivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnectivityPass
from bqskit.passes.mapping.setmodel import SetModelPass
from bqskit.passes.mapping.topology import SubtopologySelectionPass
from bqskit.passes.mapping.verify import PAMVerificationSequence
Expand Down Expand Up @@ -1012,7 +1012,7 @@ def build_multi_qudit_retarget_workflow(
optimization_level,
synthesis_epsilon,
),
RestoreModelConnevtivityPass(),
RestoreModelConnectivityPass(),
],
AutoRebase2QuditGatePass(3, 5, synthesis_epsilon),
),
Expand Down Expand Up @@ -1257,7 +1257,7 @@ def build_seqpam_mapping_optimization_workflow(
PAMRoutingPass(),
post_pam_seq,
UnfoldPass(),
RestoreModelConnevtivityPass(),
RestoreModelConnectivityPass(),

LogPass('Recaching permutation-aware synthesis results.'),
SubtopologySelectionPass(block_size),
Expand Down
6 changes: 3 additions & 3 deletions bqskit/passes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
PAMRoutingPass
EmbedAllPermutationsPass
ExtractModelConnectivityPass
RestoreModelConnevtivityPass
RestoreModelConnectivityPass
.. rubric:: PAM Verification Passes
Expand Down Expand Up @@ -238,7 +238,7 @@
from bqskit.passes.mapping.routing.pam import PAMRoutingPass
from bqskit.passes.mapping.routing.sabre import GeneralizedSabreRoutingPass
from bqskit.passes.mapping.setmodel import ExtractModelConnectivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnevtivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnectivityPass
from bqskit.passes.mapping.setmodel import SetModelPass
from bqskit.passes.mapping.topology import SubtopologySelectionPass
from bqskit.passes.mapping.verify import CalculatePAMErrorsPass
Expand Down Expand Up @@ -398,7 +398,7 @@
'GeneralSQDecomposition',
'StructureAnalysisPass',
'ExtractModelConnectivityPass',
'RestoreModelConnevtivityPass',
'RestoreModelConnectivityPass',
'TagPAMBlockDataPass',
'CalculatePAMErrorsPass',
'UnTagPAMBlockDataPass',
Expand Down
4 changes: 2 additions & 2 deletions bqskit/passes/mapping/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from bqskit.passes.mapping.routing.pam import PAMRoutingPass
from bqskit.passes.mapping.routing.sabre import GeneralizedSabreRoutingPass
from bqskit.passes.mapping.setmodel import ExtractModelConnectivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnevtivityPass
from bqskit.passes.mapping.setmodel import RestoreModelConnectivityPass
from bqskit.passes.mapping.setmodel import SetModelPass
from bqskit.passes.mapping.topology import SubtopologySelectionPass
from bqskit.passes.mapping.verify import CalculatePAMErrorsPass
Expand All @@ -30,7 +30,7 @@
'EmbedAllPermutationsPass',
'SubtopologySelectionPass',
'ExtractModelConnectivityPass',
'RestoreModelConnevtivityPass',
'RestoreModelConnectivityPass',
'TagPAMBlockDataPass',
'CalculatePAMErrorsPass',
'UnTagPAMBlockDataPass',
Expand Down
4 changes: 2 additions & 2 deletions bqskit/passes/mapping/setmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ExtractModelConnectivityPass(BasePass):
Extracts and saves the current target machine model's connectivity.
The model will remain unchanged except that it will be fully connected until
the RestoreModelConnevtivityPass is executed.
the RestoreModelConnectivityPass is executed.
"""

key = '_ExtractModelConnectivityPass_connectivity'
Expand All @@ -55,7 +55,7 @@ async def run(self, circuit: Circuit, data: PassData) -> None:
)


class RestoreModelConnevtivityPass(BasePass):
class RestoreModelConnectivityPass(BasePass):
"""Restores the connectivity of the target machine model."""

async def run(self, circuit: Circuit, data: PassData) -> None:
Expand Down

0 comments on commit f35f419

Please sign in to comment.