cuquantum.cutensornet.workspace_compute_qr_sizes

cuquantum.cutensornet.workspace_compute_qr_sizes(intptr_t handle, intptr_t tensor_in, intptr_t tensor_q, intptr_t tensor_r, intptr_t workspace)[source]

Compute the required workspace sizes for tensor_qr().

Parameters
  • handle (intptr_t) – The library handle.

  • tensor_in (intptr_t) – The input tensor descriptor.

  • tensor_q (intptr_t) – The tensor descriptor for the output Q.

  • tensor_r (intptr_t) – The tensor descriptor for the output R.

  • workspace (intptr_t) – The workspace descriptor.