Hello @avinpat_8;
There are no QSPI examples for Nucleo - F413ZH.
Which memory is connected to the QUADSPI interface?
The QSPI examples are configured according to memory specifications.
The QSPI examples for STM32F413H-DISCOVERY board are tested with N25Q128A13EF840 micron, so you need to update the QSPI configuration in main.c and the command operation in main.h according to the memory you've used.

I recommend you to look at the QSPI example and get inspired to create your own project.
Also, I advise you to look at AN4760 precisely 4. QUADSPI configuration section. This section describes all QUADSPI configuration steps required to perform either read, write or erase operations.
I hope this help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.