Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispy-chicken committed Jan 29, 2025
1 parent cd9a3ce commit 1f13bbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mitiq/vd/vd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ def _apply_diagonalizing_gate(
cirq.LineQubit(i + N * j) for j in range(num_copies)
] # select qubit i of each copy

print(qubits)

new_circuit.append(diag_gate(*qubits))

return new_circuit
Expand All @@ -105,7 +103,7 @@ def _apply_diagonalizing_gate(
def _generate_diagonalizing_gate(num_copies: int = 2) -> cirq.Gate:
"""
Generate the diagonalizing gate for the VD algorithm.
Currently only num_copies
Currently only num_copies=2 is supported.
Args:
num_qubits:
Expand Down

0 comments on commit 1f13bbe

Please sign in to comment.