Qubits¶
- class zixy.qubit.Qubits¶
Bases:
objectPython wrapper for Qubits, which can either take the form of a vector of modes or simply a number of modes
- __eq__(value, /)¶
Return self==value.
- __len__()¶
Return len(self).
- static from_count(n)¶
Create using the first n modes of the default register.
- static from_hilbert_space_dim(n)¶
Create by taking the ceiling of the log2 of the size of the hilbert space
- static from_inds(inds)¶
Create using the modes indexed.
- static from_offset(i, n)¶
Create using the modes i to i+n of the default register.