Support for Christiansen Form hamiltonian #6560
20 minor issues found.
Annotations
Check notice on line 922 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L922
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 954 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L954
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 988 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L988
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 886 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L886
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 972 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L972
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 905 in pennylane/labs/vibrational/christiansen_utils.py
codefactor-io / CodeFactor
pennylane/labs/vibrational/christiansen_utils.py#L905
Consider using 'with' for resource-allocating operations (consider-using-with)
Check notice on line 103 in pennylane/templates/subroutines/adder.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/adder.py#L103
Too many positional arguments (6/5) (too-many-positional-arguments)
Check notice on line 142 in pennylane/templates/subroutines/out_multiplier.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/out_multiplier.py#L142
Too many positional arguments (7/5) (too-many-positional-arguments)
Check notice on line 115 in pennylane/templates/subroutines/mod_exp.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/mod_exp.py#L115
Too many positional arguments (7/5) (too-many-positional-arguments)
Check notice on line 692 in pennylane/qchem/vibrational/taylor_ham.py
codefactor-io / CodeFactor
pennylane/qchem/vibrational/taylor_ham.py#L692
Possibly using variable 'ham' before assignment (possibly-used-before-assignment)
Check notice on line 42 in pennylane/workflow/execution.py
codefactor-io / CodeFactor
pennylane/workflow/execution.py#L42
Too many positional arguments (15/5) (too-many-positional-arguments)
Check notice on line 262 in pennylane/templates/subroutines/out_poly.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/out_poly.py#L262
Too many positional arguments (7/5) (too-many-positional-arguments)
Check notice on line 107 in pennylane/templates/subroutines/qrom.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/qrom.py#L107
Too many positional arguments (7/5) (too-many-positional-arguments)
Check notice on line 120 in pennylane/templates/subroutines/multiplier.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/multiplier.py#L120
Too many positional arguments (6/5) (too-many-positional-arguments)
Check notice on line 141 in pennylane/templates/subroutines/out_adder.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/out_adder.py#L141
Too many positional arguments (7/5) (too-many-positional-arguments)
Check notice on line 126 in pennylane/templates/subroutines/phase_adder.py
codefactor-io / CodeFactor
pennylane/templates/subroutines/phase_adder.py#L126
Too many positional arguments (6/5) (too-many-positional-arguments)
Check notice on line 120 in pennylane/labs/tests/resource_estimation/test_resource_operator.py
codefactor-io / CodeFactor
pennylane/labs/tests/resource_estimation/test_resource_operator.py#L120
Disallowed name "bar" (disallowed-name)
Check notice on line 124 in pennylane/labs/tests/resource_estimation/test_resource_operator.py
codefactor-io / CodeFactor
pennylane/labs/tests/resource_estimation/test_resource_operator.py#L124
Disallowed name "foo" (disallowed-name)
Check notice on line 124 in pennylane/labs/tests/resource_estimation/test_resource_operator.py
codefactor-io / CodeFactor
pennylane/labs/tests/resource_estimation/test_resource_operator.py#L124
Disallowed name "bar" (disallowed-name)
Check notice on line 120 in pennylane/labs/tests/resource_estimation/test_resource_operator.py
codefactor-io / CodeFactor
pennylane/labs/tests/resource_estimation/test_resource_operator.py#L120
Disallowed name "foo" (disallowed-name)