Module operations

Source
Expand description

Batch operations for quantum gates using SciRS2 parallel algorithms

Structs§

BatchHadamard
Batch-optimized Hadamard gate using SciRS2

Functions§

apply_gate_sequence_batch
Apply multiple gates to a batch using SciRS2 batch operations
apply_single_qubit_gate_batch
Apply a single-qubit gate to all states in a batch
apply_two_qubit_gate_batch
Apply a two-qubit gate to all states in a batch
batch_state_matrix_multiply
Batch matrix multiplication Note: SciRS2 batch_matmul doesn’t support Complex numbers, so we implement our own
compute_expectation_values_batch
Parallel expectation value computation