Skip to content

Simulated_Calibration Notebook and Docs are outdated #19

@lazyoracle

Description

@lazyoracle

Describe the bug
Simulated_Calibration Notebook and Docs are outdated and throw errors when attempting to execute

To Reproduce

jupyter nbconvert --to=notebook --in-place --execute examples/Simulated_calibration.ipynb

from single_qubit_blackbox_exp import create_experiment

blackbox = create_experiment()
------------------

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-4c1c0a78a5a2> in <module>
      1 from single_qubit_blackbox_exp import create_experiment
      2 
----> 3 blackbox = create_experiment()

~/c3/examples/single_qubit_blackbox_exp.py in create_experiment()
     34         name="Q1",
     35         desc="Qubit 1",
---> 36         freq=Qty(
     37             value=freq,
     38             min=4.995e9 * 2 * np.pi,

TypeError: __init__() got an unexpected keyword argument 'min'
TypeError: __init__() got an unexpected keyword argument 'min'

Additional context
We should add a test to ensure all notebooks are running since they often get missed when breaking changes are introduced in the code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions