Excitation of intense shock waves by soft X‐radiation from a Z‐pinch plasma