|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Variables | |
| circuit_qiskit = QuantumCircuit.from_qasm_file(filename) | |
| list | coupling_map |
| string | filename = 'examples/partitioning/qasm_samples/heisenberg-16-20.qasm' |
| final_pi | |
| int | N = 16 |
| parameters = np.array([]) | |
| parameters_initial | |
| parameters_remapped_circuit | |
| pi | |
| pi_map = list(np.array(sabre.get_inverse_pi(pi))) | |
| Qiskit_circuit = QuantumCircuit(N) | |
| Qiskit_circuit_mapped = transpile(circuit_qiskit, coupling_map=coupling_map) | |
| qubits = list(range(N)) | |
| sabre = SABRE(Squander_initial_circuit, topology,stochastic_selection=True) | |
| Squander_initial_circuit | |
| Squander_remapped_circuit | |
| swap_count | |
| list | topology |
| example_SABRE.circuit_qiskit = QuantumCircuit.from_qasm_file(filename) |
Definition at line 23 of file example_SABRE.py.
| list example_SABRE.coupling_map |
Definition at line 53 of file example_SABRE.py.
| string example_SABRE.filename = 'examples/partitioning/qasm_samples/heisenberg-16-20.qasm' |
Definition at line 20 of file example_SABRE.py.
| example_SABRE.final_pi |
Definition at line 35 of file example_SABRE.py.
| int example_SABRE.N = 16 |
Definition at line 21 of file example_SABRE.py.
| example_SABRE.parameters = np.array([]) |
Definition at line 13 of file example_SABRE.py.
| example_SABRE.parameters_initial |
Definition at line 26 of file example_SABRE.py.
| example_SABRE.parameters_remapped_circuit |
Definition at line 35 of file example_SABRE.py.
| example_SABRE.pi |
Definition at line 35 of file example_SABRE.py.
| example_SABRE.pi_map = list(np.array(sabre.get_inverse_pi(pi))) |
Definition at line 45 of file example_SABRE.py.
| example_SABRE.Qiskit_circuit = QuantumCircuit(N) |
Definition at line 44 of file example_SABRE.py.
| example_SABRE.Qiskit_circuit_mapped = transpile(circuit_qiskit, coupling_map=coupling_map) |
Definition at line 59 of file example_SABRE.py.
| example_SABRE.qubits = list(range(N)) |
Definition at line 43 of file example_SABRE.py.
| example_SABRE.sabre = SABRE(Squander_initial_circuit, topology,stochastic_selection=True) |
Definition at line 34 of file example_SABRE.py.
| example_SABRE.Squander_initial_circuit |
Definition at line 26 of file example_SABRE.py.
| example_SABRE.Squander_remapped_circuit |
Definition at line 35 of file example_SABRE.py.
| example_SABRE.swap_count |
Definition at line 35 of file example_SABRE.py.
| list example_SABRE.topology |
Definition at line 29 of file example_SABRE.py.
1.8.13