[Prototype] Efficient Graph-based Decomposition with Dijkstra's Algorithm #6302
20 issues found.
Annotations
Check notice on line 119 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L119
Too few public methods (0/2) (too-few-public-methods)
Check notice on line 163 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L163
Too few public methods (1/2) (too-few-public-methods)
Check notice on line 185 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L185
Too many instance attributes (8/7) (too-many-instance-attributes)
Check notice on line 159 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L159
Missing function or method docstring (missing-function-docstring)
Check notice on line 294 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L294
Redefining argument with the local name 'op' (redefined-argument-from-local)
Check notice on line 91 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L91
Method 'decomposed_ops' is abstract in class '_Decomposition' but is not overridden in child class '_DynamicDecomposition' (abstract-method)
Check notice on line 156 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L156
Too few public methods (1/2) (too-few-public-methods)
Check notice on line 170 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L170
Too few public methods (1/2) (too-few-public-methods)
Check notice on line 91 in pennylane/ops/decompositions.py
codefactor-io / CodeFactor
pennylane/ops/decompositions.py#L91
Method 'bind' is abstract in class '_Decomposition' but is not overridden in child class '_DynamicDecomposition' (abstract-method)
Check notice on line 67 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L67
Unused argument 'params' (unused-argument)
Check notice on line 78 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L78
Missing function or method docstring (missing-function-docstring)
Check notice on line 44 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L44
Missing function or method docstring (missing-function-docstring)
Check notice on line 78 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L78
Unused argument 'params' (unused-argument)
Check notice on line 18 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L18
Missing function or method docstring (missing-function-docstring)
Check notice on line 1 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L1
Missing module docstring (missing-module-docstring)
Check notice on line 55 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L55
Missing function or method docstring (missing-function-docstring)
Check notice on line 67 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L67
Missing function or method docstring (missing-function-docstring)
Check notice on line 30 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L30
Missing function or method docstring (missing-function-docstring)
Check notice on line 89 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L89
Unused argument 'params' (unused-argument)
Check notice on line 89 in decomposition_demo.py
codefactor-io / CodeFactor
decomposition_demo.py#L89
Missing function or method docstring (missing-function-docstring)