Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Takishima authored Jul 18, 2023
1 parent 25a9f0f commit 53b08fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectq/cengines/_linearmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def return_new_mapping(num_qubits, cyclic, currently_allocated_ids, stored_comma
Build a mapping of qubits to a linear chain.
It goes through stored_commands and tries to find a mapping to apply these gates on a first come first served
basis. More compilicated scheme could try to optimize to apply as many gates as possible between the Swaps.
basis. More complicated scheme could try to optimize to apply as many gates as possible between the Swaps.
Args:
num_qubits(int): Total number of qubits in the linear chain
Expand Down

0 comments on commit 53b08fd

Please sign in to comment.