{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# How To Prepare a Spin-j State on a Photonic Quantum Computer" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "By now we all know and love how a spin-j state can be decomposed into 2j \"stars\" on the sphere. We've used this decomposition to prepare spin-j states in the form of 2j permutation symmetric qubits on IBM's quantum computer. Here we'll see how we can use the same decomposition to prepare a spin-j state on a photonic quantum computer, in terms of oscillator modes.\n", "\n", "For this, we'll need to recall the \"Schwinger oscillator\" formulation of spin, which can be thought of as the second quantization of a qubit. We introduce two harmonic oscillators for each basis state of a qubit (the fundamental, spin-$\\frac{1}{2}$ representation). This actually gives us all the higher spin representations for free. You can think of it like one oscillator counts the number of \"$\\uparrow$\" quanta and one oscillator counts the number of \"$\\downarrow$\" quanta. The resulting Fock space can be interpreted as describing a theory of a variable number of bosonic spin-$\\frac{1}{2}$ quanta (aka a theory of symmetric multiqubit states with different numbers of qubits), or more simply as a tower of spin states, one for each $j$." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "