spheres.spin_circuits.pytket.spin_tomography_pytket

spheres.spin_circuits.pytket.spin_tomography_pytket(circ_info, backend=None, shots=8000)[source]

Given a Pytket circuit preparing a spin state, runs tomography to reconstruct the density matrix.

Parameters
  • circ_info (dict) – Information about the Pytket circuit.

  • backend (pytket.backend.Backend) –

  • shots (int) –

Returns

dm

Return type

qt.Qobj