This will depend on your laptop's HDMI version. If it has HDMI 1.4, it will support 4K output at 30Hz. HDMI 2.0a or newer is needed to display 4K at 60Hz. Anything older than 1.4 is limited to 1920x1200 or less from my understanding.
If your laptop has Display Port or USB-C, you can use a DP or USB-C to HDMI adapter cable to get 4K video.