Magnetic and Electronic Properties of Complex Oxides from First‐Principles