How to design multi controlled gate?

For example, I want to prepare a quantum state from 0, so I need use multi controlled RY gate, like this:image
How to design this gate? Any help will be appreciate!

Hi @Geralt_Rivia, welcome to the Forum!

You can use qml.ctrl to create a controlled version of an operation. If you’re looking specifically for a controlled RY you can use our CRY operator. So you could add qml.ctrl on top of the CRY operation.

Please let me know if this is helpful!

Thanks for your reply! It is very very useful!