spheres.spin_circuits.qiskit.spin_tomography_qiskit

spheres.spin_circuits.qiskit.spin_tomography_qiskit(circ_info, backend_name='qasm_simulator', shots=8000)[source]

Performs tomography on the provided symmetric multiqubit circuit, given postselection on the control qubits.

Parameters
  • circ_info (dict) –

  • backend_name (str) – Qiskit backend.

  • shots (int) – Number of shots.

Returns

dm – Reconstructed spin-j density matrix.

Return type

qt.Qobj