Simulation of metastable three-level system of quantum hardware