Error "Broadcasting with MottonenStatePreparation is not supported." when using AmplitudeEmbedding after other operators

Thank you for your reply.
I implemented the Amplitude Embedding using the most straightforward approach, using controlled phase gates for all possible states, but this might not be the most optimal method. What I think PennyLane could improve on is enabling the conversion of qml.AmplitudeEmbedding into a set of gates or allowing it to be applied mid-circuit (as there is currently a broadcasting issue). This could make it easier to apply in many applications.