# Contractors¶

 tensornetwork.contractors.greedy(nodes, …) Greedy contraction path via opt_einsum. tensornetwork.contractors.bucket(nodes, …) Contract given nodes exploiting copy tensors. tensornetwork.contractors.branch(nodes, …) Branch contraction path via opt_einsum. tensornetwork.contractors.optimal(nodes, …) Optimal contraction order via opt_einsum. tensornetwork.contractors.auto(nodes, …) Chooses one of the above algorithms according to network size. tensornetwork.contractors.custom(nodes, …) Uses a custom path optimizer created by the user to calculate paths.