Nature Unit Tests #7356
Annotations
19 errors
Run lint:
qiskit_nature/second_q/transformers/active_space_transformer.py#L440
E0606: Possibly using variable 'num_alpha' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/transformers/active_space_transformer.py#L440
E0606: Possibly using variable 'num_beta' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'index_left' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'index_right' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'hopping_parameter' before assignment (possibly-used-before-assignment)
|
Run lint:
test/second_q/drivers/gaussiand/test_driver_gaussian_forces.py#L231
E0606: Possibly using variable 'exp_vals' before assignment (possibly-used-before-assignment)
|
Run lint:
test/second_q/hamiltonians/lattices/test_lattice.py#L147
E0606: Possibly using variable 'nx' before assignment (possibly-used-before-assignment)
|
Run lint:
test/second_q/properties/test_electronic_density.py#L264
E1101: Instance of 'ElectronicStructureResult' has no 'equiv' member (no-member)
|
Run lint
Process completed with exit code 2.
|
Run mypy:
qiskit_nature/second_q/operators/tensor.py#L599
Redundant cast to "Union[ndarray[Any, Any], Any]"
|
Run mypy:
qiskit_nature/second_q/operators/tensor.py#L607
Redundant cast to "Union[ndarray[Any, Any], Any]"
|
Run mypy:
qiskit_nature/second_q/operators/vibrational_op.py#L252
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/spin_op.py#L257
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/fermionic_op.py#L199
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/bosonic_op.py#L198
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/majorana_op.py#L253
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/circuit/library/ansatzes/uvcc.py#L329
Argument "num_excitations" to "generate_vibration_excitations" has incompatible type "str"; expected "int"
|
Run mypy:
qiskit_nature/second_q/circuit/library/ansatzes/ucc.py#L473
Argument 2 to "generate_fermionic_excitations" has incompatible type "**Dict[str, int]"; expected "Tuple[int, int]"
|
Run mypy:
qiskit_nature/second_q/circuit/library/ansatzes/ucc.py#L473
Argument 2 to "generate_fermionic_excitations" has incompatible type "**Dict[str, int]"; expected "bool"
|
Loading