spheres.spin_circuits.pytket¶
Pytket circuits for preparing spin-j states as permutation symmetric multiqubit states.
Functions
|
Single qubit operator employed in symmetrization circuit to prepare control qubits. |
|
Two qubit operator employed in symmetrization circuit to prepare control qubits. |
|
Given an array of shots data, postselects on certain bits having certain values. |
|
Given a spin-j state, constructs a qiskit circuit which prepares that state as a permutation symmetric state of 2j qubits. |
|
Given a Pytket circuit preparing a spin state, runs tomography to reconstruct the density matrix. |
|
Given a pytket circuit and a list of qubits, constructs a set of circuits that implement tomography on those qubits. |
|
Given a set of Pytket tomography circuits and the results of measurements (shots), reconstructs the density matrix of the quantum state. |