set_tenalg_backend(backend='core', local_threadsafe=False)[source]

Set the current tenalg backend

backend{‘core’, ‘einsum’}
  • if ‘core’, our manually optimized implementations are used

  • if ‘einsum’, all operations are dispatched to einsum

If True, the backend will not become the default backend for all threads.

Note that this only affects threads where the backend hasn’t already been explicitly set. If False (default) the backend is set for the entire session.