qiskit.synthesis.synth_cnot_depth_line_kms¶
- synth_cnot_depth_line_kms(mat)[source]¶
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.
- প্যারামিটার
mat (np.ndarray]) -- A boolean invertible matrix.
- রিটার্নস
the synthesized quantum circuit.
- রিটার্ন টাইপ
- রেইজেস
QiskitError -- if mat is not invertible.
References
Kutin, S., Moulton, D. P., Smithline, L., Computation at a distance, Chicago J. Theor. Comput. Sci., vol. 2007, (2007), arXiv:quant-ph/0701194