QXel.functional.functionals module¶
Python wrappers around the low-level tensor and result kernels in QXel.
- QXel.functional.functionals.apply_operator(operator, tensor, stream=None)¶
Apply one operator to
tensorin place.
- QXel.functional.functionals.apply_partial_result(result, tensor, global_offset, local_offset, stream=None)¶
Accumulate a partial result from
tensorintoresult.
- QXel.functional.functionals.permute_columns_after_alltoall(tensor, num_qubits, num_distributed_qubits, stream=None)¶
Restore density-matrix column order after distributed communication.
- QXel.functional.functionals.set_compute_type(compute_type)¶
Select the native kernel backend used by functional helpers.
- QXel.functional.functionals.get_compute_type()¶
Return the currently selected native kernel backend.
- QXel.functional.functionals.initialize_basisZ(tensor, stream=None)¶
Initialize
tensorto the computational-basis|0...0>state.
- QXel.functional.functionals.initialize_zero(tensor, stream=None)¶
Fill
tensorwith zeros.