TraceBackwardRehearsalInfo#

class cuquantum.pauliprop.experimental.TraceBackwardRehearsalInfo(
device_scratch_workspace_required: int,
host_scratch_workspace_required: int,
cotangent_num_terms: int,
)[source]#

Rehearsal information for backward differentiation of a trace operation.

Includes the required number of terms for the cotangent expansion output(s).