Computing quantum magic of state vectors | Synapse