State preparation with pennylane

In addition, you can also check out the following post for some example code: