Commit 5ba42c1
authored
Split up datatype definition modules (#1835)
Long overdue.
- prior releases included the `qualtran.dtype.XXX` aliases for QCDTypes
(the data type classes and objects used in your quantum programs)
- This PR moves the source of truth to private submodules in this
package and makes the `qualtran._infra.dtype` imports into aliases
- Most people are probably using the `qualtran.XXX` re-exports anyways,
which remain unchanged.
This is just moving code. The only "change" is moving the assert_to_bits
test helper is now in the public API.1 parent 0335aa8 commit 5ba42c1
File tree
29 files changed
+3002
-1873
lines changed- qualtran
- _infra
- dtype
- gf
29 files changed
+3002
-1873
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments