Confined quantum fermionic systems