As I discuss in this question, by far the most popular school of Hindu philosophy is the Vedanta school. But there are five other Astika or orthodox schools of Hindu philosophy: Purva Mimamsa, Samkhya, Yoga, Vaisheshika, and Nyaya. My question is about the Yoga school, which had a similar worldview to the Samkhya school except it embraced the existence of a supreme being. The defining text of the Yoga school is Patanjali's Yoga Sutras.
In Adhyaya 4 Sutra 1 of the Yoga Sutras, Patanjali discusses the various ways you can obtain Siddhis or magical powers:
janma-oṣadhi-mantra-tapas-samādhi-jāḥ siddhayaḥ
Supernatural powers (siddhis) arise from birth, drugs, mantras, austerity, or yoga (samadhi)
In my question here, I asked what drugs or herbs give Siddhis, and I found an answer, namely the Soma plant and the Amalaka plant, as described in this excerpt from Adi Shankaracharya's commentary on the Yoga Sutras:
oṣadhibhir asurabhavaneṣu rasāyanena somāmala-kādibhakṣaṇena pūrvadehānapanayenaiva
"From drugs - such as the elixir of the demon realms": here the original body is not discarded, but by taking drugs such as Soma or the Amalaka plant (some perfection [Siddhi] is attained)
Now the Soma plant is notoriously hard to identify, although scholars today think it's most likely the Ephedra plant. But the identity of Amalaka is well-known; it's the Indian gooseberry. So my question is, what Siddhis does the Amalaka plant give?
Here are the traditional Siddhis described in the Yoga Sutras:
Aṇimā: reducing one's body even to the size of an atom
Mahima: expanding one's body to an infinitely large size
Garima: becoming infinitely heavy
Laghima: becoming almost weightless
Prāpti: having unrestricted access to all places
Prākāmya: realizing whatever one desires
Iṣṭva: possessing absolute lordship
Vaśtva: the power to subjugate all
So which of these Siddhis does the Amalaka plant give? Page 32 of this book describes an Ayurvedic medicine made from Amalaka whose effect is "to transform old men into young, with new hair and teeth, and induce physical power like that of an elephant." It's possible that that's related to a Siddhi.
But what does Hindu scripture have to say on the subject? And does Hindu scripture discuss how to use the Amalaka plant to obtain Siddhis?