Removing useless operations
Removing some useless operations on batches performed when a phase was added to the wavefunction in the Hamiltonian apply routine. This makes the code faster in the corresponding cases.
Removing some useless operations related to the application of the phase in the Hamiltonian.
- I have checked that my code follows the Octopus coding standards
- I have added tests for all the new features added in this request.