This study aims to investigate the physical changes in patients undergoing pulmonary endarterectomy (PET). It will observe alterations in physical performance, lung function, and muscle strength during the postoperative period. This study, observational and prospective, will include individuals aged ≥18 scheduled, evaluating them preoperatively, post-intensive care unit discharge, before hospital discharge and after six months . Assessments involve tests like the Six-minute walk test, Short Physical Performance Battery, One-minute sit-to-stand test, manovacuometry, dynamometry, spirometry and Clinical Frailty Scale to identify frailty and measure muscle and lung function. The study also aims to explore predictive variables for functional loss during hospitalization.