Tequila Library Reference

Tequila’s functionalities are provided through the following modules.

Hamiltonian

Modules

paulis

Convenience initialization of Pauli Operators.

Circuit

Modules

gates

Optimizers

Functions

minimize

Minimization function with a given optimization method.

show_available_optimizers

Display a list of installed optimization methods.

Modules

optimizer_scipy

optimizer_phoenics

Simulators API

Functions

simulate

Simulate a tequila objective or circuit.

compile

Compile a tequila objective or circuit to a backend.

compile_circuit

Compile a circuit to render it callable and return it.

compile_objective

Compile an objective to render it callable and return it.

compile_to_function

Compile a tequila objective or circuit with parameters are passed down as ordered arguments.

draw

Pretty output (depends on installed backends).

pick_backend

Choose, or verify, a backend for the user.

show_available_simulators

Display and supported backends, simulators and noise samplers.

Classes

BackendTypes

Quantum Chemistry

Function

Molecule

Define a molecular geometry, basis set and fermion quibit transformation.

MoleculeFromOpenFermion

Initialize a tequila Molecule directly from an openfermion molecule object

Classes

QuantumChemistryPsi4