Skip to content

Commit

Permalink
Reverting Quick Partitioner Change
Browse files Browse the repository at this point in the history
  • Loading branch information
jkalloor3 committed Oct 31, 2023
1 parent 4ac5c5e commit f575c48
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bqskit/passes/partitioning/quick.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@ async def run(self, circuit: Circuit, data: PassData) -> None:
data (dict[str,Any]): Optional data unique to specific run.
"""
if self.block_size > circuit.num_qudits:
_logger.warning(
'Configured block size is greater than circuit size; '
'blocking entire circuit.',
)
circuit.fold({
qudit_index: (0, circuit.num_cycles - 1)
for qudit_index in range(circuit.num_qudits)
})
return

# The partitioned circuit that will be built and returned
partitioned_circuit = Circuit(circuit.num_qudits, circuit.radixes)

Expand Down

0 comments on commit f575c48

Please sign in to comment.