Add validate_wires_against_backend function #335
5 issues found.
Annotations
Check notice on line 188 in pennylane_qiskit/qiskit_device.py
codefactor-io / CodeFactor
pennylane_qiskit/qiskit_device.py#L188
Trailing whitespace (trailing-whitespace)
Check notice on line 197 in pennylane_qiskit/qiskit_device.py
codefactor-io / CodeFactor
pennylane_qiskit/qiskit_device.py#L197
Trailing whitespace (trailing-whitespace)
Check notice on line 205 in pennylane_qiskit/qiskit_device.py
codefactor-io / CodeFactor
pennylane_qiskit/qiskit_device.py#L205
Trailing whitespace (trailing-whitespace)
Check notice on line 204 in pennylane_qiskit/qiskit_device.py
codefactor-io / CodeFactor
pennylane_qiskit/qiskit_device.py#L204
Consider explicitly re-raising using 'except AttributeError as exc' and 'raise AttributeError("Neither 'b.configuration().n_qubits' nor 'b.num_qubits' exist.") from exc' (raise-missing-from)
Check notice on line 195 in pennylane_qiskit/qiskit_device.py
codefactor-io / CodeFactor
pennylane_qiskit/qiskit_device.py#L195
Missing function or method docstring (missing-function-docstring)