quri_parts.openfermion.utils package#
- quri_parts.openfermion.utils.add_exp_excitation_gates_trotter_decomposition(circuit: LinearMappedUnboundParametricQuantumCircuit, excitation_indices: Sequence[Excitation], params: Sequence[Parameter], operator_mapper: Callable[[FermionOperator | InteractionOperator | MajoranaOperator], Operator], coef: float) LinearMappedUnboundParametricQuantumCircuit #
Add parametric Pauli rotation gates as a product of the exponentials of the excitations to the given
circuit
.
- quri_parts.openfermion.utils.create_anti_hermitian_sd_excitation_operator(excitation_indices: tuple[int, int] | tuple[int, int, int, int], operator_mapper: Callable[[FermionOperator | InteractionOperator | MajoranaOperator], Operator]) Operator #
Create an anti-hermitian
Operator
according to the assigned index.