Interlin-q
0.0.1
Contents
Introduction
Simulated Architecture
Conversion of monolithic to distributed circuit
Distributed Scheduler and Broadcasting
Executing the distributed algorithm
Install
Quick Start
Design Overview
Computing Host
Controller Host
Qubits
Operation
Layers
Circuits
Examples
Distributed Quantum Phase Estimation
Distributed Quantum Phase Estimation Algorithm
Introduction of Interlin-q
Simulated Architechture
Conversion of monolithic to distributed circuit
Distributed Scheduler and Broadcasting
Executing the distributed algorithm
Code implementation
Step 1: Import libraries.
Step 2: Create monolithic circuit of Quantum Phase Estimation
Step 3: Define Standard protocols for controller and computing hosts.
Step 4: Provide inputs
Step 5: Execute the distributed algorithm and analyse the results
Single QPU VQE experiment
Step 1: Import libraries.
Step 2: Decompose the Hamiltonian.
Step 3: Prepare Circuit for Given Parameters
Main Blocks
Single-step approach
Split-steps approach
Step 4: Run the circuit and get the Expectation Value
Running for the single-step approach
Running for the multi-step approach
Using qutip to get the expectation value
Optimise
Interlin-q
»
Index
Index
A
|
B
|
C
|
D
|
E
|
G
|
I
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
A
add_layer_to_circuit() (interlinq.objects.circuit.Circuit method)
add_new_qubit() (interlinq.objects.circuit.Circuit method)
add_operation() (interlinq.objects.layer.Layer method)
add_operations() (interlinq.objects.layer.Layer method)
B
bits() (interlinq.components.computing_host.ComputingHost property)
C
Circuit (class in interlinq.objects.circuit)
classical_ctrl_gate() (interlinq.objects.qubit.Qubit method)
computing_host_id() (interlinq.objects.qubit.Qubit property)
computing_host_ids() (interlinq.components.controller_host.ControllerHost property)
(interlinq.objects.operation.Operation property)
ComputingHost (class in interlinq.components.computing_host)
connect_host() (interlinq.components.controller_host.ControllerHost method)
connect_hosts() (interlinq.components.controller_host.ControllerHost method)
control_gate_info() (interlinq.objects.circuit.Circuit method)
control_gate_present() (interlinq.objects.layer.Layer method)
controller_host_id() (interlinq.components.computing_host.ComputingHost property)
ControllerHost (class in interlinq.components.controller_host)
create_distributed_network() (interlinq.components.controller_host.ControllerHost method)
create_layers() (interlinq.objects.circuit.Circuit method)
current_layer() (interlinq.objects.qubit.Qubit property)
D
default() (interlinq.components.controller_host.NumpyEncoder method)
E
extract_gate_param() (interlinq.components.computing_host.ComputingHost static method)
G
gate() (interlinq.objects.operation.Operation property)
gate_param() (interlinq.objects.operation.Operation property)
generate_and_send_schedules() (interlinq.components.controller_host.ControllerHost method)
get_control_host() (interlinq.objects.operation.Operation method)
get_control_qubit() (interlinq.objects.operation.Operation method)
get_dict() (interlinq.objects.operation.Operation method)
get_target_host() (interlinq.objects.operation.Operation method)
get_target_qubit() (interlinq.objects.operation.Operation method)
I
InputError
insert_layer() (interlinq.objects.circuit.Circuit method)
interlinq.components.computing_host
module
interlinq.components.controller_host
module
interlinq.objects.circuit
module
interlinq.objects.layer
module
interlinq.objects.operation
module
interlinq.objects.qubit
module
is_control_gate_over_two_hosts() (interlinq.objects.operation.Operation method)
L
Layer (class in interlinq.objects.layer)
layers() (interlinq.objects.circuit.Circuit property)
M
measure() (interlinq.objects.qubit.Qubit method)
module
interlinq.components.computing_host
interlinq.components.controller_host
interlinq.objects.circuit
interlinq.objects.layer
interlinq.objects.operation
interlinq.objects.qubit
N
name() (interlinq.objects.operation.Operation property)
NumpyEncoder (class in interlinq.components.controller_host)
O
Operation (class in interlinq.objects.operation)
operations() (interlinq.objects.layer.Layer property)
(interlinq.objects.qubit.Qubit property)
P
perform_schedule() (interlinq.components.computing_host.ComputingHost method)
Q
q_id() (interlinq.objects.qubit.Qubit property)
q_map() (interlinq.objects.circuit.Circuit property)
qids() (interlinq.objects.operation.Operation property)
Qubit (class in interlinq.objects.qubit)
qubit_ids() (interlinq.components.computing_host.ComputingHost property)
qubits() (interlinq.objects.circuit.Circuit property)
R
rec_classical() (interlinq.objects.qubit.Qubit method)
rec_ent() (interlinq.objects.qubit.Qubit method)
receive_results() (interlinq.components.controller_host.ControllerHost method)
receive_schedule() (interlinq.components.computing_host.ComputingHost method)
remove_operation() (interlinq.objects.layer.Layer method)
results() (interlinq.components.controller_host.ControllerHost property)
S
send_classical() (interlinq.objects.qubit.Qubit method)
send_ent() (interlinq.objects.qubit.Qubit method)
send_results() (interlinq.components.computing_host.ComputingHost method)
single() (interlinq.objects.qubit.Qubit method)
T
total_qubits() (interlinq.components.computing_host.ComputingHost property)
(interlinq.objects.circuit.Circuit method)
two_qubit() (interlinq.objects.qubit.Qubit method)
U
update_layer() (interlinq.objects.circuit.Circuit method)
(interlinq.objects.qubit.Qubit method)
update_qubits() (interlinq.objects.circuit.Circuit method)
update_total_qubits() (interlinq.components.computing_host.ComputingHost method)