spheres.spin_circuits.pytket.Tkj_pytket

spheres.spin_circuits.pytket.Tkj_pytket(k, j, dagger=False)[source]

Two qubit operator employed in symmetrization circuit to prepare control qubits.

Parameters
  • k (int) –

  • j (int) –

  • dagger (bool) – Whether to return the adjoint.

Returns

O

Return type

pytket.circuit.Unitary2qBox