pub fn contract_path_cost(
inputs: &[Tensor],
contract_path: &ContractionPath,
only_count_ops: bool,
) -> (f64, f64)Expand description
Returns Schroedinger contraction time and space complexity of fully contracting the input tensors.
ยงArguments
inputs- Tensors to contractcontract_path- Contraction order (replace path)only_count_ops- Iftrue, ignores cost of complex multiplication and addition and only counts number of operations