Superconducting qubit in waveguide cavity with coherence time ap