pauli_expansion_view_prepare_trace_with_zero_state#
-
cuquantum.
bindings. cupauliprop. pauli_expansion_view_prepare_trace_with_zero_state( - intptr_t handle,
- intptr_t view,
- int64_t max_workspace_size,
- intptr_t workspace,
Updates the given workspace descriptor in preparation for computing the trace of the given Pauli expansion view with the zero state, i.e. computing
Tr(view * |0...0><0...0|).- Parameters:
handle (intptr_t) – Library handle.
view (intptr_t) – Pauli expansion view to be traced.
max_workspace_size (int64_t) – Maximum workspace size limit in bytes.
workspace (intptr_t) – Workspace descriptor to be updated with the required workspace buffer size.