Skip to content

add test and format

codefactor.io / CodeFactor failed Jan 22, 2025 in 4s

2 issues found.

Annotations

Check notice on line 400 in pennylane_lightning/lightning_qubit/lightning_qubit.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane_lightning/lightning_qubit/lightning_qubit.py#L400

Access to a protected member _update_num_qubits of a client class (protected-access)

Check notice on line 88 in pennylane_lightning/lightning_qubit/_state_vector.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane_lightning/lightning_qubit/_state_vector.py#L88

Attribute '_num_wires' defined outside __init__ (attribute-defined-outside-init)