create_clifford_gate_operator#

cuquantum.bindings.cupauliprop.create_clifford_gate_operator(
intptr_t handle,
int clifford_gate_kind,
qubit_indices,
) intptr_t[source]#

Creates a Clifford gate.

Parameters:
  • handle (intptr_t) – Library handle.

  • clifford_gate_kind (CliffordGateKind) – Clifford gate kind.

  • qubit_indices (object) –

    Qubit indices. It can be:

    • an int as the pointer address to the array, or

    • a Python sequence of int32_t.

Returns:

Quantum operator associated with the Clifford gate.

Return type:

intptr_t