Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Prototype] Efficient Graph-based Decomposition with Dijkstra's Algorithm #6302

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

add demo

004b5b7
Select commit
Loading
Failed to load commit list.
Draft

[Prototype] Efficient Graph-based Decomposition with Dijkstra's Algorithm #6302

add demo
004b5b7
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Sep 30, 2024 in 11s

20 issues found.

Annotations

Check notice on line 119 in pennylane/ops/decompositions.py

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L67

Unused argument 'params' (unused-argument)

Check notice on line 78 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L78

Missing function or method docstring (missing-function-docstring)

Check notice on line 44 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L44

Missing function or method docstring (missing-function-docstring)

Check notice on line 78 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L78

Unused argument 'params' (unused-argument)

Check notice on line 18 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L18

Missing function or method docstring (missing-function-docstring)

Check notice on line 1 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L1

Missing module docstring (missing-module-docstring)

Check notice on line 55 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L55

Missing function or method docstring (missing-function-docstring)

Check notice on line 67 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L67

Missing function or method docstring (missing-function-docstring)

Check notice on line 30 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L30

Missing function or method docstring (missing-function-docstring)

Check notice on line 89 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L89

Unused argument 'params' (unused-argument)

Check notice on line 89 in decomposition_demo.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

decomposition_demo.py#L89

Missing function or method docstring (missing-function-docstring)