The Sims 4 MINIMUM System Requirements...
The Sims 4 Minimum Requirements
CPU: Intel Core 2 Duo E4300 or AMD Athlon 64 X2 4000+ (2.0 GHz Dual Core required if using integrated graphics)
CPU Speed: Info
RAM: 2 GB
OS: Windows XP
Video Card: NVIDIA GeForce 6600 or ATI Radeon X1300 or Intel GMA X4500
Sound Card: Yes
Free Disk Space: 10 GB
The Sims 4 RECOMMENDED System Requirements...
CPU: Intel Core i5-750 or AMD Athlon X4
CPU Speed: Info
RAM: 4 GB
OS: 64 Bit Windows 7,8, or 8.1
Video Card: NVIDIA GeForce GTX 650 or better
Sound Card: Yes
Free Disk Space: 10 GB
NOTE: This is just referring to the initial game installation. Since this game will be growing, a lot, as you use it, create stuff, download and add stuff, etc., I would make sure you have even more than the Recommended System Requirements.
Going by the following information (if this is the one you are looking at that is), it sounds like the computer you are looking to buy should be more than adequate.
http
/shop.lenovo.com/us/en/laptops/ideapad/z-series/z580/#tab-tech_specs