{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "79a4b724",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-05T13:12:10.623911Z",
"iopub.status.busy": "2024-04-05T13:12:10.623682Z",
"iopub.status.idle": "2024-04-05T13:12:12.231102Z",
"shell.execute_reply": "2024-04-05T13:12:12.230292Z"
}
},
"outputs": [],
"source": [
"import finesse\n",
"finesse.configure(plotting=True)\n",
"\n",
"kat = finesse.Model()\n",
"kat.parse(\n",
" \"\"\"\n",
" l l1 P=1\n",
" s s1 l1.p1 bs1.p4 L=1\n",
" sq sq1 db=10\n",
" s s2 sq1.p1 bs1.p1\n",
" bs bs1 R=0.5 L=0 alpha=45\n",
"\n",
" # Set a signal frequency to activate the signal simulation\n",
" # (needed for squeezing effects to be observed)\n",
" fsig(1)\n",
"\n",
" # Output the pure shot noise along with the qnoised detector\n",
" # measuring the effects of the squeezing\n",
" qnoised sqzd_noise bs1.p2.o\n",
" qshot shot_noise bs1.p2.o\n",
"\n",
" xaxis(l1.phase, lin, -90, 90, 360)\n",
" \"\"\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "28fbba0c",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-05T13:12:12.236481Z",
"iopub.status.busy": "2024-04-05T13:12:12.234820Z",
"iopub.status.idle": "2024-04-05T13:12:12.550526Z",
"shell.execute_reply": "2024-04-05T13:12:12.549774Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"