Skip to content

1-wiring-up.ipynb file has issues #1766

@Razeen-ud-din

Description

@Razeen-ud-din

After the recent datatype changes comment on github I noticed that the file 1-wiring-up.ipynb is not rendering the following cell

`from qualtran import BloqBuilder
from qualtran import QInt

bb = BloqBuilder()
x = bb.add_register('x', QInt(8))

do_nothing = bb.finalize(x=x)

import qualtran.testing as qlt_testing
qlt_testing.assert_valid_cbloq(do_nothing)`

The below error is showing

TypeError: '<=' not supported between instances of 'QInt' and 'int'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions