Skip to content

Fix current conservation bugs in symmetric modes

Tómas requested to merge anton-akhmerov/kwant:fix_validate into master

This MR implements tests for current conservation, particularly aimed at modes with symmetries and conservation laws, and fixes related bugs. It also fixes a bug in the function to check whether a Hamiltonian possesses a declared discrete symmetry.

Merge request reports