Hartree–Fock–Bogoliubov theory for number-parity-violating fermionic Hamiltonians | Synapse