exponentiate

pyquil.paulis.exponentiate(term)[source]

Creates a pyQuil program that simulates the unitary evolution exp(-1j * term)

Parameters:term (PauliTerm) – A pauli term to exponentiate
Returns:A Program object
Return type:Program