create_frame_simulator#

cuquantum.bindings.custabilizer.create_frame_simulator(
intptr_t handle,
int64_t num_qubits,
int64_t num_shots,
int64_t num_measurements,
int64_t table_stride_major,
) intptr_t[source]#

Create a FrameSimulator.

Parameters:
  • handle (intptr_t) – Library handle.

  • num_qubits (int64_t) – Number of qubits in the Pauli frame.

  • num_shots (int64_t) – Number of samples to simulate.

  • num_measurements (int64_t) – Number of measurements in the measurement table.

  • table_stride_major (int64_t) – Stride over the major axis for all input bit tables. Specified in bytes and must be a multiple of 4.

Returns:

Pointer to the created frame simulator.

Return type:

intptr_t