Nature Unit Tests #7431
Annotations
19 errors
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:
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:
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/mappers/logarithmic_mapper.py#L105
Unsupported operand types for * ("complex" and "Tuple[Any, ...]")
|
Run mypy:
qiskit_nature/second_q/mappers/linear_mapper.py#L56
Unsupported operand types for * ("complex" and "List[Any]")
|
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"
|
Loading