Preparing Majorana zero modes on a noisy quantum processor