Skip to content

Commit

Permalink
Update qiskit/transpiler/synthesis/aqc/aqc_plugin.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Lishman <jake@binhbar.com>
  • Loading branch information
ajavadia and jakelishman committed Jan 3, 2024
1 parent 72c12cb commit 2f30cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qiskit/transpiler/synthesis/aqc/aqc_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ def run(self, unitary, **options):
from qiskit.transpiler.synthesis.aqc.aqc import AQC
from qiskit.transpiler.synthesis.aqc.cnot_structures import make_cnot_network
from qiskit.transpiler.synthesis.aqc.cnot_unit_circuit import CNOTUnitCircuit
from qiskit.transpiler.synthesis.aqc.fast_gradient.fast_gradient import FastCNOTUnitObjective
from qiskit.transpiler.synthesis.aqc.fast_gradient.fast_gradient import (
FastCNOTUnitObjective,
)

num_qubits = int(round(np.log2(unitary.shape[0])))

Expand Down

0 comments on commit 2f30cbe

Please sign in to comment.