Skip to content

Commit

Permalink
Merge pull request #43 from OpenQuantumDesign/fix-serialization
Browse files Browse the repository at this point in the history
Fix serialization
  • Loading branch information
benjimaclellan authored Oct 17, 2024
2 parents 21a9e6b + 82753d3 commit 6fd9b06
Show file tree
Hide file tree
Showing 24 changed files with 132 additions and 2,212 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
# python-version: "3.10"
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ import matplotlib.pyplot as plt
from midstack.interface.analog.operator import *
from midstack.interface.analog.operations import *
from midstack.backend.metric import *
from midstack.backend.task import Task, TaskArgsAnalog
from midstack.backend.task import Task
from analog_sim.base import TaskArgsAnalogSimulator
from midstack.backend import QutipBackend

X = PauliX()
Expand All @@ -59,7 +60,7 @@ Hx = AnalogGate(hamiltonian=X)
circuit = AnalogCircuit()
circuit.evolve(duration=10, gate=Hx)

args = TaskArgsAnalog(
args = TaskArgsAnalogSimulator(
n_shots=100,
fock_cutoff=4,
metrics={"Z": Expectation(operator=Z)},
Expand Down
77 changes: 0 additions & 77 deletions docs/tutorials/analog.md

This file was deleted.

106 changes: 0 additions & 106 deletions docs/tutorials/ising.md

This file was deleted.

96 changes: 0 additions & 96 deletions docs/tutorials/rabi-flopping.md

This file was deleted.

Loading

0 comments on commit 6fd9b06

Please sign in to comment.