Experimental characterization of a spin quantum heat engine