---
toc_depth: 1
---

# API Documentation

### `opt_einsum.contract`

::: opt_einsum.contract.contract
    <!-- :docstring: -->

### `opt_einsum.contract_path`

::: opt_einsum.contract.contract_path
    <!-- :docstring: -->

### `opt_einsum.contract_expression`

::: opt_einsum.contract.contract_expression
    <!-- :docstring:
    :members: -->

### `opt_einsum.contract.ContractExpression`

::: opt_einsum.contract.ContractExpression
    <!-- :docstring:
    :members: -->

### `opt_einsum.contract.PathInfo`

::: opt_einsum.contract.PathInfo
    <!-- :docstring: -->

### `opt_einsum.get_symbol`

::: opt_einsum.parser.get_symbol
    <!-- :docstring: -->

### `opt_einsum.shared_intermediates`

::: opt_einsum.sharing.shared_intermediates
    <!-- :docstring: -->

### `opt_einsum.paths.optimal`

::: opt_einsum.paths.optimal
    <!-- :docstring: -->

### `opt_einsum.paths.greedy`

::: opt_einsum.paths.greedy
    <!-- :docstring: -->

### `opt_einsum.paths.branch`

::: opt_einsum.paths.branch
    <!-- :docstring: -->

### `opt_einsum.paths.PathOptimizer`

::: opt_einsum.paths.PathOptimizer
    <!-- :docstring:
    :members: -->

### `opt_einsum.paths.BranchBound`

::: opt_einsum.paths.BranchBound
    <!-- :docstring:
    :members: -->

### `opt_einsum.path_random.RandomOptimizer`

::: opt_einsum.path_random.RandomOptimizer
    <!-- :docstring:
    :members: -->

### `opt_einsum.path_random.RandomGreedy`

::: opt_einsum.path_random.RandomGreedy
    <!-- :docstring:
    :members: -->

### `opt_einsum.paths.DynamicProgramming`

::: opt_einsum.paths.DynamicProgramming
    <!-- :docstring:
    :members: -->
