quairkit.database.set¶
- quairkit.database.set.pauli_basis(num_qubits)¶
Generate a Pauli basis.
- quairkit.database.set.pauli_group(num_qubits)¶
Generate a Pauli group i.e., an unnormalized Pauli basis.
- quairkit.database.set.pauli_str_basis(pauli_str)¶
Get the state basis with respect to the Pauli string
- quairkit.database.set.qft_basis(num_qubits)¶
Compute the eigenvectors (eigenbasis) of the Quantum Fourier Transform (QFT) matrix.
-
quairkit.database.set.std_basis(num_systems, system_dim=
2
)¶ Generate all standard basis states for a given number of qubits.
- quairkit.database.set.bell_basis()¶
Generate the Bell basis for a 2-qubit system, with each basis state accessible along the first dimension of a tensor.
- quairkit.database.set.heisenberg_weyl(dim)¶
- Generate Heisenberg-Weyl operator for qudit.
The Heisenberg-Weyl operators are defined as T(a,b) = e^{-(d+1) pi i a b/ d}Z^a X^b.