FastCNOTUnitObjective#
- class qiskit.transpiler.synthesis.aqc.FastCNOTUnitObjective(num_qubits, cnots)[fuente]#
Bases:
CNOTUnitObjective
Implementation of objective function and gradient calculator, which is similar to
DefaultCNOTUnitObjective
but several times faster.- Parámetros:
Attributes
- num_cnots#
Returns: A number of CNOT units to be used by the approximate circuit.
- num_thetas#
Returns: Number of parameters (angles) of rotation gates in this circuit.
- target_matrix#
Returns: a matrix being approximated
Methods