qulacs.utils.conversions_openfermion ============================================== .. py:module:: qulacs.utils.conversions_openfermion Module Contents --------------- Functions ~~~~~~~~~ .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`convert_openfermion_op` - convert_openfermion_op .. py:function:: convert_openfermion_op(openfermion_op, n_qubits=None) convert_openfermion_op :param openfermion_op: :type openfermion_op: :class:`openfermion.ops.QubitOperator` :param n_qubit: if None (default), it automatically calculates the number of qubits required to represent the given operator :type n_qubit: :class:`int` :returns: :class:`qulacs.GeneralQuantumOperator`