Skip to content

Commit

Permalink
updating for v3.2; extend testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jkochNU committed Jul 30, 2023
1 parent 97cf43d commit d9d2c06
Show file tree
Hide file tree
Showing 11 changed files with 44,750 additions and 32,471 deletions.
6 changes: 3 additions & 3 deletions environment.yml
Expand Up @@ -2,7 +2,7 @@ name: example-environment
channels:
- conda-forge
dependencies:
- cython
- cython>=0.29.20, <3.0.0
- scipy
- numpy
- qutip
Expand All @@ -12,6 +12,6 @@ dependencies:
- cycler
- pathos
- dill
- scqubits==2.0
- ipywidgets
- scqubits==3.2
- sympy
- ipyvuetify
2 changes: 1 addition & 1 deletion examples/demo_fluxonium.ipynb
Expand Up @@ -251,7 +251,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.15"
"version": "3.9.16"
},
"pycharm": {
"stem_cell": {
Expand Down
54 changes: 27 additions & 27 deletions examples/demo_gui.ipynb

Large diffs are not rendered by default.

80 changes: 24 additions & 56 deletions examples/demo_hilbertspace.ipynb
@@ -1,7 +1,6 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -16,7 +15,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:43:53.057632Z",
Expand All @@ -34,7 +33,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -44,7 +42,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -65,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:43:54.037807Z",
Expand Down Expand Up @@ -102,7 +99,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:43:54.772581Z",
Expand Down Expand Up @@ -143,7 +140,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
Expand All @@ -156,7 +152,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:43:56.149663Z",
Expand Down Expand Up @@ -209,7 +205,7 @@
" 0. 0. 0. 0. 0. 33.963]]"
]
},
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -220,7 +216,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -229,7 +224,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -238,7 +233,7 @@
"True"
]
},
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -248,7 +243,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
Expand All @@ -261,7 +255,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
Expand All @@ -275,7 +268,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -286,7 +278,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:00.099411Z",
Expand Down Expand Up @@ -332,7 +324,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
Expand All @@ -345,7 +336,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:03.627440Z",
Expand Down Expand Up @@ -414,7 +405,7 @@
" 0. 0. 0. 34.053 ]]"
]
},
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -425,7 +416,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -434,7 +424,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:06.327709Z",
Expand All @@ -456,7 +446,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -467,32 +456,18 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f3f947cb87bf4b198948a37ee4bee782",
"model_id": "d8d491963e674504860ea15c4dc55c7f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"VBox(children=(HBox(children=(VBox(children=(HBox(children=(Label(value='Select subsystems (Ctrl-Click)'), But…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2ffb1a622bac411199662b5548b04746",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Output()"
"Container(children=[Card(children=[CardTitle(children=['Create Hilbert Space'], layout=None), Container(childr…"
]
},
"metadata": {},
Expand Down Expand Up @@ -635,7 +610,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -663,7 +637,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -674,7 +647,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 11,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:10.103117Z",
Expand All @@ -687,7 +660,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -696,7 +668,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 12,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:13.722890Z",
Expand All @@ -719,7 +691,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -728,7 +699,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 13,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:16.331869Z",
Expand All @@ -742,7 +713,7 @@
"(1, 2)"
]
},
"execution_count": 15,
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -752,7 +723,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -761,7 +731,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 14,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:19.844481Z",
Expand All @@ -775,7 +745,7 @@
"8"
]
},
"execution_count": 16,
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -785,7 +755,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -794,7 +763,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 15,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-31T11:44:52.454767Z",
Expand All @@ -805,10 +774,10 @@
{
"data": {
"text/plain": [
"18.413688985491895"
"18.41368898549191"
]
},
"execution_count": 17,
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -818,7 +787,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -845,7 +813,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
"version": "3.9.16"
},
"toc": {
"base_numbering": 1,
Expand Down

0 comments on commit d9d2c06

Please sign in to comment.