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

Clean-up Wires object usage across source code #6689

Merged
merged 53 commits into from
Dec 20, 2024

Revert "fix: further clean-up in controlled.py"

fe8d4a5
Select commit
Loading
Failed to load commit list.
Merged

Clean-up Wires object usage across source code #6689

Revert "fix: further clean-up in controlled.py"
fe8d4a5
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor succeeded Dec 19, 2024 in 3s

5 minor issues found.

Annotations

Check notice on line 866 in pennylane/ops/channel.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/channel.py#L866

Too many positional arguments (7/5) (too-many-positional-arguments)

Check notice on line 492 in pennylane/ops/op_math/controlled.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/op_math/controlled.py#L492

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 483 in pennylane/ops/op_math/controlled.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/op_math/controlled.py#L483

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 126 in pennylane/templates/subroutines/phase_adder.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/templates/subroutines/phase_adder.py#L126

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 928 in pennylane/ops/op_math/controlled.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/op_math/controlled.py#L928

Too many positional arguments (6/5) (too-many-positional-arguments)