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

Return type

Program

Returns

A Program object