QubitUnitary
accepts sparse matrices as inputs
#6889
codefactor.io / CodeFactor
succeeded
Feb 12, 2025 in 3s
2 minor issues found.
Annotations
Check notice on line 643 in pennylane/ops/op_math/decompositions/two_qubit_unitary.py
codefactor-io / CodeFactor
pennylane/ops/op_math/decompositions/two_qubit_unitary.py#L643
Possibly using variable 'num_cnots' before assignment (possibly-used-before-assignment)
Check notice on line 215 in pennylane/ops/op_math/decompositions/two_qubit_unitary.py
codefactor-io / CodeFactor
pennylane/ops/op_math/decompositions/two_qubit_unitary.py#L215
Possibly using variable 'B' before assignment (possibly-used-before-assignment)
Loading