Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.synthesis.synth_cnot_depth_line_kms

synth_cnot_depth_line_kms(mat)[fuente]

Synthesize linear reversible circuit for linear nearest-neighbor architectures using Kutin, Moulton, Smithline method.

Synthesis algorithm for linear reversible circuits from [1], Chapter 7. Synthesizes any linear reversible circuit of n qubits over linear nearest-neighbor architecture using CX gates with depth at most 5*n.

Parámetros

mat (np.ndarray]) – A boolean invertible matrix.

Devuelve

the synthesized quantum circuit.

Tipo del valor devuelto

QuantumCircuit

Muestra

QiskitError – if mat is not invertible.

Referencias

  1. Kutin, S., Moulton, D. P., Smithline, L., Computation at a distance, Chicago J. Theor. Comput. Sci., vol. 2007, (2007), arXiv:quant-ph/0701194