diff --git a/examples/demo_cos2phi_qubit.ipynb b/examples/demo_cos2phi_qubit.ipynb
index 3e52665..48fa774 100644
--- a/examples/demo_cos2phi_qubit.ipynb
+++ b/examples/demo_cos2phi_qubit.ipynb
@@ -14,7 +14,7 @@
},
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-03-11T02:42:35.772716Z",
@@ -23,9 +23,6 @@
},
"outputs": [],
"source": [
- "%matplotlib inline\n",
- "%config InlineBackend.figure_format = 'svg'\n",
- "\n",
"import numpy as np\n",
"import scqubits as scq"
]
@@ -66,43 +63,14 @@
},
{
"cell_type": "code",
- "execution_count": 2,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-03-11T02:42:35.969228Z",
"start_time": "2021-03-11T02:42:35.775838Z"
}
},
- "outputs": [
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "ac018e81e14f425ca7b0b15c6f0eed1b",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "HBox(children=(VBox(children=(HBox(children=(Label(value='EJ [GHz]'), FloatText(value=15.0, layout=Layout(widt…"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "b87a86e2c9c44a2faa89b0b8c3dd1ebc",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "Output()"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
+ "outputs": [],
"source": [
"cos2phi_qubit = scq.Cos2PhiQubit.create()"
]
@@ -111,12 +79,21 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "Alternativley, the qubit instance can be crated with:"
+ "From figure above, we can see that cos2phi can be viewed as a $0-\\pi$ qubit with maximum disorder in shunt capacitors.\n",
+ "\n",
+ "Benifits of cos2phi qubit: When biased at half flux quantum, it is protected from dielectric loss, charge noise and flux noise. However, it suffers from inductive loss, see https://bpb-us-e1.wpmucdn.com/sites.northwestern.edu/dist/2/1168/files/2022/01/Xinyuan-You-2021.pdf page 80 for more details."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Alternatively, the qubit instance can be crated with:"
]
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-03-11T02:42:35.974074Z",
@@ -130,48 +107,25 @@
" EL = 1.0,\n",
" EC = 0.04,\n",
" dCJ = 0.0,\n",
- " dL = 0.6,\n",
+ " dL = 0.0,\n",
" dEJ = 0.0,\n",
" flux = 0.5,\n",
" ng = 0.0,\n",
- " ncut = 7,\n",
- " phi_cut = 7,\n",
+ " ncut = 10,\n",
+ " phi_cut = 10,\n",
" zeta_cut = 30)"
]
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-03-11T02:42:35.978143Z",
"start_time": "2021-03-11T02:42:35.976060Z"
}
},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Cos2PhiQubit--------| [Cos2PhiQubit_2]\n",
- " | EJ: 15.0\n",
- " | ECJ: 2.0\n",
- " | EL: 1.0\n",
- " | EC: 0.04\n",
- " | dCJ: 0.0\n",
- " | dL: 0.6\n",
- " | dEJ: 0.0\n",
- " | flux: 0.5\n",
- " | ng: 0.0\n",
- " | ncut: 7\n",
- " | zeta_cut: 30\n",
- " | phi_cut: 7\n",
- " |\n",
- " | dim: 3150\n",
- "\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
"print(cos2phi_qubit)"
]
@@ -181,4281 +135,19 @@
"metadata": {},
"source": [
"### Potential energy\n",
- "evaluated by setting $\\zeta=0$"
+ "evaluated for $\\zeta=0$"
]
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2021-03-11T02:42:36.374414Z",
"start_time": "2021-03-11T02:42:35.979646Z"
}
},
- "outputs": [
- {
- "data": {
- "image/svg+xml": [
- "\r\n",
- "\r\n",
- "\r\n",
- "\r\n"
- ],
- "text/plain": [
- "