Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Go to the source code of this file.
Namespaces | |
state_preparation_evolutionary | |
Variables | |
state_preparation_evolutionary.backend = Aer.get_backend('unitary_simulator') | |
Qiskit backend for simulator. More... | |
dictionary | state_preparation_evolutionary.config |
state preparation ##################################### More... | |
state_preparation_evolutionary.cStatePrep = N_Qubit_State_Preparation_adaptive( State, config=config ) | |
state_preparation_evolutionary.decomp_error = cStatePrep.Optimization_Problem( params_BFGS ) | |
state_preparation_evolutionary.job = execute(qc, backend) | |
job execution and getting the result as an object More... | |
int | state_preparation_evolutionary.levels = 1 |
state_preparation_evolutionary.parameter_num = cStatePrep.get_Parameter_Num() | |
state_preparation_evolutionary.parameters = np.random.randn( parameter_num ) | |
state_preparation_evolutionary.params_AGENTS = cStatePrep.get_Optimized_Parameters() | |
state_preparation_evolutionary.params_BFGS = cStatePrep.get_Optimized_Parameters() | |
state_preparation_evolutionary.qc = QuantumCircuit.from_qasm_file( '../../benchmarks/IBM/alu-v4_37.qasm') | |
state_preparation_evolutionary.quantum_circuit = cStatePrep.get_Qiskit_Circuit() | |
Qiskit quantum circuit. More... | |
state_preparation_evolutionary.result = job.result() | |
the result of the Qiskit job More... | |
state_preparation_evolutionary.State = np.ascontiguousarray( Umtx[:,0].copy() ) | |
state_preparation_evolutionary.Umtx = result.get_unitary(qc) | |
the unitary matrix from the result object More... | |