Skip to content

removing amplitudeembedding

codefactor.io / CodeFactor failed Jul 24, 2024 in 2s

4 issues found.

Annotations

Check notice on line 175 in pennylane/ops/qubit/state_preparation.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/qubit/state_preparation.py#L175

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

Check notice on line 233 in pennylane/ops/qubit/state_preparation.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/qubit/state_preparation.py#L233

Too many branches (13/12) (too-many-branches)

Check notice on line 18 in pennylane/templates/embeddings/amplitude.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/templates/embeddings/amplitude.py#L18

Unused pennylane imported as qml (unused-import)

Check notice on line 20 in pennylane/templates/embeddings/amplitude.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/templates/embeddings/amplitude.py#L20

Unused Wires imported from pennylane.wires (unused-import)