quri_parts.qulacs.operator package#
- convert_operator(operator, n_qubits)#
Convert an
Operator
or aPauliLabel
to aqulacs.GeneralQuantumOperator
.- Parameters:
operator (Operator | PauliLabel) –
n_qubits (int) –
- Return type:
GeneralQuantumOperator
Convert an Operator
or a PauliLabel
to a
qulacs.GeneralQuantumOperator
.
operator (Operator | PauliLabel) –
n_qubits (int) –
GeneralQuantumOperator