cuStabilizer (cuquantum.bindings.custabilizer)#

Python objects & constants#

Objects#

Enums#

Python functions#

Versioning API#

get_version()

Returns the semantic version number of the cuStabilizer library.

get_error_string(int status)

Get the description string for a given cuStabilizer status code.

Handle management API#

create()

Create and initialize the library context.

destroy(intptr_t handle)

Destroy the library context.

Circuit API#

circuit_size_from_string(intptr_t handle, ...)

Returns the size of the device buffer required for a circuit.

create_circuit_from_string(intptr_t handle, ...)

Create a new circuit from a string representation.

destroy_circuit(intptr_t circuit)

Destroy a circuit.

Frame Simulator API#

create_frame_simulator(intptr_t handle, ...)

Create a FrameSimulator.

destroy_frame_simulator(intptr_t frame_simulator)

Destroy the FrameSimulator.

frame_simulator_apply_circuit(...)

Run Pauli frame simulation using the circuit.