Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Clifford.from_matrix

classmethod Clifford.from_matrix(matrix)[소스]

Create a Clifford from a unitary matrix.

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

매개변수

matrix (np.array) – A unitary matrix representing a Clifford to be converted.

반환

the Clifford object for the unitary matrix.

반환 형식

Clifford

예외 발생

QiskitError – if the input is not a Clifford matrix.