Effects of static imperfections for quantum computing