quchip.engine.partitioned

Partition-aware dispatch for quchip.engine.simulate().

Chip-structural logic lives in quchip.chip.partition; this module only orchestrates: decide, split, run one pipeline per component, combine.

Functions

maybe_simulate_partitioned(chip, drive_ops, ...)

Run per-component solves when the chip splits; None declines to the joint path.

quchip.engine.partitioned.maybe_simulate_partitioned(chip, drive_ops, tlist, *, solver, options, e_ops, initial_state, check_truncation, truncation_threshold)[source]

Run per-component solves when the chip splits; None declines to the joint path.

Parameters:
  • chip (Any)

  • drive_ops (list)

  • tlist (Any)

  • solver (str | None)

  • options (dict | None)

  • e_ops (dict | None)

  • initial_state (Any | None)

  • check_truncation (bool)

  • truncation_threshold (float)

Return type:

Any | None