spheres.spin_circuits.qiskit

Qiskit circuits for preparing spin-j states as permutation symmetric multiqubit states.

Functions

Rk_qiskit(k)

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

Tkj_qiskit(k, j)

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

postselect_results_qiskit(circ_info, raw_results)

Performs postselection on Qiskit results given information in the provided dictionary.

spin_sym_qiskit(spin)

Given a spin-j state, constructs a qiskit circuit which prepares that state as a permutation symmetric state of 2j qubits.

spin_tomography_qiskit(circ_info[, …])

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