Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Clifford.from_operator

classmethod Clifford.from_operator(operator)[source]

Create a Clifford from a operator.

Note that this function takes exponentially long time w.r.t. the number of qubits.

প্যারামিটার

operator (Operator) -- An operator representing a Clifford to be converted.

রিটার্নস

the Clifford object for the operator.

রিটার্ন টাইপ

Clifford

রেইজেস

QiskitError -- if the input is not a Clifford operator.