Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Functions | |
def | generate_hamiltonian (n) |
def | generate_hamiltonian_tmp (n) |
Variables | |
comm = MPI.COMM_WORLD | |
dictionary | config |
cost_fnc_CPU = VQE_Heisenberg.Optimization_Problem( parameters ) | |
cost_fnc_GROQ = VQE_Heisenberg.Optimization_Problem( parameters ) | |
def | Hamiltonian = generate_hamiltonian_tmp( qbit_num ) |
int | inner_blocks = 1 |
int | layers = 500 |
linewidth | |
bool | MPI_imported = True |
param_num = VQE_Heisenberg.get_Parameter_Num() | |
int | parameters = np.random.randn( param_num ) *2*np.pi |
string | project_name = 'Test_GROQ' |
int | qbit_num = 20 |
rank = comm.Get_rank() | |
start_time = time.time() | |
list | topology = [] |
VQE_Heisenberg = Variational_Quantum_Eigensolver(Hamiltonian, qbit_num, config, accelerator_num=1) | |
with GROQ acceelrator ############################################# More... | |
world_size = comm.Get_size() | |
def test_Groq.generate_hamiltonian | ( | n | ) |
Definition at line 78 of file test_Groq.py.
def test_Groq.generate_hamiltonian_tmp | ( | n | ) |
Definition at line 37 of file test_Groq.py.
test_Groq.comm = MPI.COMM_WORLD |
Definition at line 29 of file test_Groq.py.
dictionary test_Groq.config |
Definition at line 106 of file test_Groq.py.
test_Groq.cost_fnc_CPU = VQE_Heisenberg.Optimization_Problem( parameters ) |
Definition at line 174 of file test_Groq.py.
test_Groq.cost_fnc_GROQ = VQE_Heisenberg.Optimization_Problem( parameters ) |
Definition at line 142 of file test_Groq.py.
def test_Groq.Hamiltonian = generate_hamiltonian_tmp( qbit_num ) |
Definition at line 97 of file test_Groq.py.
int test_Groq.inner_blocks = 1 |
Definition at line 90 of file test_Groq.py.
int test_Groq.layers = 500 |
Definition at line 89 of file test_Groq.py.
test_Groq.linewidth |
Definition at line 12 of file test_Groq.py.
bool test_Groq.MPI_imported = True |
Definition at line 22 of file test_Groq.py.
test_Groq.param_num = VQE_Heisenberg.get_Parameter_Num() |
Definition at line 131 of file test_Groq.py.
test_Groq.parameters = np.random.randn( param_num ) *2*np.pi |
Definition at line 133 of file test_Groq.py.
string test_Groq.project_name = 'Test_GROQ' |
Definition at line 98 of file test_Groq.py.
int test_Groq.qbit_num = 20 |
Definition at line 92 of file test_Groq.py.
test_Groq.rank = comm.Get_rank() |
Definition at line 30 of file test_Groq.py.
test_Groq.start_time = time.time() |
Definition at line 140 of file test_Groq.py.
list test_Groq.topology = [] |
Definition at line 35 of file test_Groq.py.
test_Groq.VQE_Heisenberg = Variational_Quantum_Eigensolver(Hamiltonian, qbit_num, config, accelerator_num=1) |
with GROQ acceelrator #############################################
only CPU #############################################
Definition at line 118 of file test_Groq.py.
test_Groq.world_size = comm.Get_size() |
Definition at line 31 of file test_Groq.py.