Quantum Measurement Error Mitigation In The NISQ Era Via Software And Pulse Level