1.¶
1.1 GraphiQ: Quantum circuit design for photonic graph states¶
Welcome
Welcome to the GraphiQ documentation!
© Quantum Bridge Technologies, Ki3 Photonics Technologies
1.2 About the project¶
GraphiQ is an open-source framework for designing photonic graph state generation schemes. Photonic graph states are an important resource for many quantum information processing tasks including quantum computing and quantum communication.
Version 0.1.0 was jointly developed by Quantum Bridge Technologies, Inc. ("Quantum Bridge") and Ki3 Photonics Technologies under the US Air Force Office of Scientific Research (AFOSR) Grant FA9550-22-1-0062.
1.3 What can it do?¶
1.4 Basic usage¶
import graphiq as gq
from graphiq.benchmarks.circuits import bell_state_circuit
import networkx as nx
#%%
circuit, _ = bell_state_circuit()
backend = gq.StabilizerCompiler()
state = backend.compile(circuit)
print(state)
#%%
target = gq.QuantumState(data=nx.Graph([(1, 2), (2, 3)]), rep_type="g")
metric = gq.Infidelity(target=target)
solver = gq.TimeReversedSolver(compiler=backend, metric=metric, target=target)
#%%
solver.solve()
score, circuit = solver.result
circuit.draw_circuit()
1.5 Installation¶
This package is built on top of the standard Python scientific computing ecosystem, including networkx
, numpy
, matplotlib
, and scipy
.