circuit_knitting.cutting.cutqc.evaluate_subcircuits

evaluate_subcircuits(cuts, service=None, backend_names=None, options=None)[source]

Evaluate the subcircuits.

Deprecated since version 0.7.0: The function circuit_knitting.cutting.cutqc.wire_cutting.evaluate_subcircuits() is deprecated as of circuit-knitting-toolbox 0.7.0. It will be removed no sooner than CKT v0.8.0. Use the wire cutting or automated cut-finding functionality in the circuit_knitting.cutting package.

Parameters:
  • cuts (dict[str, Any]) – The results of cutting

  • service (QiskitRuntimeService | None) – A service for connecting to Qiskit Runtime Service

  • options (Options | Sequence[Options] | None) – Options to use on each backend

  • backend_names (str | Sequence[str] | None) – The name(s) of the backend(s) to be used

Return type:

dict[int, dict[int, np.ndarray]]

Returns:

The dictionary containing the results from running each of the subcircuits