pytket
0.4.0
Contents:
Getting Started
Changelog
LICENCE
Open Source Attribution
API Reference:
pytket.backends
pytket.circuit
pytket.device
pytket.passes
pytket.predicates
pytket.qasm
pytket.quipper
pytket.routing
pytket.transform
pytket.utils
pytket.cirq
pytket.projectq
pytket.pyquil
pytket.pyzx
pytket.qiskit
pytket
Docs
»
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
|
Z
_
__eq__() (pytket.circuit.CircBox method)
(pytket.circuit.Circuit method)
(pytket.circuit.ExpBox method)
(pytket.circuit.PauliExpBox method)
(pytket.circuit.Unitary1qBox method)
(pytket.circuit.Unitary2qBox method)
__init__() (pytket.backends.Backend method)
(pytket.backends.forest.ForestBackend method)
(pytket.backends.ibm.AerBackend method)
(pytket.backends.ibm.AerStateBackend method)
(pytket.backends.ibm.AerUnitaryBackend method)
(pytket.backends.ibm.IBMQBackend method)
(pytket.circuit.CircBox method)
(pytket.circuit.Circuit method)
(pytket.circuit.ExpBox method)
(pytket.circuit.PauliExpBox method)
(pytket.circuit.Unitary1qBox method)
(pytket.circuit.Unitary2qBox method)
(pytket.circuit.UnitID method)
(pytket.device.Device method)
(pytket.device.GateError method)
(pytket.device.GateErrorContainer method)
(pytket.passes.BasePass method)
(pytket.passes.RepeatPass method)
(pytket.passes.RepeatUntilSatisfiedPass method)
(pytket.passes.RepeatWithMetricPass method)
(pytket.passes.SafetyMode method)
(pytket.passes.SequencePass method)
(pytket.predicates.CliffordCircuitPredicate method)
(pytket.predicates.CompilationUnit method)
(pytket.predicates.ConnectivityPredicate method)
(pytket.predicates.DefaultRegisterPredicate method)
(pytket.predicates.DirectednessPredicate method)
(pytket.predicates.GateSetPredicate method)
(pytket.predicates.MaxNQubitsPredicate method)
(pytket.predicates.MaxTwoQubitGatesPredicate method)
(pytket.predicates.NoClassicalBitsPredicate method)
(pytket.predicates.NoClassicalControlPredicate method)
(pytket.predicates.NoFastFeedforwardPredicate method)
(pytket.predicates.NoWireSwapsPredicate method)
(pytket.predicates.PlacementPredicate method)
(pytket.predicates.Predicate method)
(pytket.predicates.UserDefinedPredicate method)
(pytket.routing.Architecture method)
(pytket.routing.SquareGrid method)
(pytket.transform.Transform method)
__iter__() (pytket.circuit.Circuit method)
__mul__() (pytket.circuit.Circuit method)
__repr__() (pytket.circuit.Circuit method)
__rshift__() (pytket.circuit.Circuit method)
(pytket.transform.Transform method)
__weakref__ (pytket.backends.Backend attribute)
A
add_bit() (pytket.circuit.Circuit method)
add_blank_wires() (pytket.circuit.Circuit method)
add_c_register() (pytket.circuit.Circuit method)
add_circbox() (pytket.circuit.Circuit method)
add_circuit() (pytket.circuit.Circuit method)
add_custom_gate() (pytket.circuit.Circuit method)
add_error() (pytket.device.GateErrorContainer method)
add_expbox() (pytket.circuit.Circuit method)
add_frequency() (pytket.device.GateErrorContainer method)
add_gate() (pytket.circuit.Circuit method)
add_pauliexpbox() (pytket.circuit.Circuit method)
add_q_register() (pytket.circuit.Circuit method)
add_qubit() (pytket.circuit.Circuit method)
add_readout() (pytket.device.GateErrorContainer method)
add_t1_time() (pytket.device.GateErrorContainer method)
add_t2_time() (pytket.device.GateErrorContainer method)
add_unitary1qbox() (pytket.circuit.Circuit method)
add_unitary2qbox() (pytket.circuit.Circuit method)
AerBackend (class in pytket.backends.ibm)
AerStateBackend (class in pytket.backends.ibm)
AerUnitaryBackend (class in pytket.backends.ibm)
append() (pytket.circuit.Circuit method)
append_pauli_measurement() (in module pytket.utils)
apply() (pytket.passes.BasePass method)
(pytket.transform.Transform method)
Architecture (class in pytket.routing)
architecture() (pytket.device.Device property)
arity() (pytket.circuit.CustomGateDef property)
B
Backend (class in pytket.backends)
BasePass (class in pytket.passes)
bit_readout() (pytket.circuit.Circuit property)
bits() (pytket.circuit.Circuit property)
(pytket.circuit.Command property)
C
CCX() (pytket.circuit.Circuit method)
CH() (pytket.circuit.Circuit method)
check_all_predicates() (pytket.predicates.CompilationUnit method)
CircBox (class in pytket.circuit)
Circuit (class in pytket.circuit)
circuit() (pytket.predicates.CompilationUnit property)
(pytket.projectq.tketBackendEngine property)
circuit_from_qasm() (in module pytket.qasm)
circuit_from_quipper() (in module pytket.quipper)
circuit_to_qasm() (in module pytket.qasm)
cirq_to_tk() (in module pytket.cirq)
CliffordCircuitPredicate (class in pytket.predicates)
Command (class in pytket.circuit)
CommuteSQThroughSWAP() (pytket.transform.Transform method)
CommuteThroughMultis() (in module pytket.passes)
(pytket.transform.Transform method)
CompilationUnit (class in pytket.predicates)
compile_circuit() (pytket.backends.Backend method)
conditions() (pytket.circuit.Command property)
ConnectivityPredicate (class in pytket.predicates)
copy() (pytket.circuit.Circuit method)
counts_from_shot_table() (in module pytket.utils)
CRz() (pytket.circuit.Circuit method)
CSWAP() (pytket.circuit.Circuit method)
CustomGateDef (class in pytket.circuit)
CX() (pytket.circuit.Circuit method)
CY() (pytket.circuit.Circuit method)
CZ() (pytket.circuit.Circuit method)
D
dagger() (pytket.circuit.Circuit method)
DecomposeArbitrarilyControlledGates() (in module pytket.passes)
DecomposeBoxes() (in module pytket.passes)
(pytket.transform.Transform method)
DecomposeBRIDGE() (pytket.transform.Transform method)
DecomposeCCX() (pytket.transform.Transform method)
DecomposeControlledRys() (pytket.transform.Transform method)
DecomposeCXDirected() (pytket.transform.Transform method)
DecomposeMultiQubitsIBM() (in module pytket.passes)
DecomposeSingleQubitsIBM() (in module pytket.passes)
DecomposeSWAP() (pytket.transform.Transform method)
DecomposeSWAPtoCX() (pytket.transform.Transform method)
default_compilation_pass() (pytket.backends.Backend property)
(pytket.backends.forest.ForestBackend property)
(pytket.backends.ibm.AerBackend property)
(pytket.backends.ibm.AerStateBackend property)
(pytket.backends.ibm.AerUnitaryBackend property)
(pytket.backends.ibm.IBMQBackend property)
(pytket.backends.projectq.ProjectQBackend property)
DefaultRegisterPredicate (class in pytket.predicates)
define() (pytket.circuit.CustomGateDef method)
depth() (pytket.circuit.Circuit method)
depth_by_type() (pytket.circuit.Circuit method)
Device (class in pytket.device)
DirectednessPredicate (class in pytket.predicates)
E
empty_cache() (pytket.backends.Backend method)
(pytket.backends.forest.ForestBackend method)
(pytket.backends.ibm.AerBackend method)
(pytket.backends.ibm.AerStateBackend method)
(pytket.backends.ibm.AerUnitaryBackend method)
(pytket.backends.ibm.IBMQBackend method)
(pytket.backends.projectq.ProjectQBackend method)
ExpBox (class in pytket.circuit)
expectation_from_counts() (in module pytket.utils)
expectation_from_shots() (in module pytket.utils)
F
final_map() (pytket.predicates.CompilationUnit property)
flatten_registers() (pytket.circuit.Circuit method)
FlattenRegisters() (in module pytket.passes)
ForestBackend (class in pytket.backends.forest)
fresh_symbol() (in module pytket.circuit)
FullPeepholeOptimise() (in module pytket.passes)
G
GateError (class in pytket.device)
GateErrorContainer (class in pytket.device)
GateSetPredicate (class in pytket.predicates)
gen_clifford_simp_pass() (in module pytket.passes)
gen_decompose_routing_gates_to_cxs_pass() (in module pytket.passes)
gen_default_mapping_pass() (in module pytket.passes)
gen_directed_cx_routing_pass() (in module pytket.passes)
gen_full_mapping_pass() (in module pytket.passes)
gen_placement_pass() (in module pytket.passes)
gen_rebase_pass() (in module pytket.passes)
gen_routing_pass() (in module pytket.passes)
gen_user_defined_swap_decomp_pass() (in module pytket.passes)
get_average_error() (pytket.device.Device method)
get_circuit() (pytket.circuit.CircBox method)
(pytket.circuit.ExpBox method)
(pytket.circuit.PauliExpBox method)
(pytket.circuit.Unitary1qBox method)
(pytket.circuit.Unitary2qBox method)
get_commands() (pytket.circuit.Circuit method)
get_counts() (pytket.backends.Backend method)
(pytket.backends.forest.ForestBackend method)
(pytket.backends.ibm.AerBackend method)
(pytket.backends.ibm.IBMQBackend method)
(pytket.backends.projectq.ProjectQBackend method)
get_coupling() (pytket.device.Device method)
get_error() (pytket.device.Device method)
get_frequency() (pytket.device.Device method)
get_gate_time() (pytket.device.Device method)
get_matrix() (pytket.circuit.Unitary1qBox method)
(pytket.circuit.Unitary2qBox method)
get_nodes() (pytket.device.Device method)
get_operator_expectation_value() (pytket.backends.projectq.ProjectQBackend method)
get_pauli_expectation_value() (pytket.backends.projectq.ProjectQBackend method)
get_readout_error() (pytket.device.Device method)
get_shots() (pytket.backends.Backend method)
(pytket.backends.forest.ForestBackend method)
(pytket.backends.ibm.AerBackend method)
(pytket.backends.ibm.IBMQBackend method)
(pytket.backends.projectq.ProjectQBackend method)
get_state() (pytket.backends.Backend method)
(pytket.backends.ibm.AerStateBackend method)
(pytket.backends.projectq.ProjectQBackend method)
get_t1_time() (pytket.device.Device method)
get_t2_time() (pytket.device.Device method)
get_type() (pytket.circuit.CircBox method)
(pytket.circuit.ExpBox method)
(pytket.circuit.PauliExpBox method)
(pytket.circuit.Unitary1qBox method)
(pytket.circuit.Unitary2qBox method)
get_unitary() (pytket.backends.Backend method)
(pytket.backends.ibm.AerUnitaryBackend method)
H
H() (pytket.circuit.Circuit method)
I
IBMQBackend (class in pytket.backends.ibm)
implies() (pytket.predicates.Predicate method)
initial_map() (pytket.predicates.CompilationUnit property)
is_available() (pytket.projectq.tketBackendEngine method)
is_simple() (pytket.circuit.Circuit property)
K
KAKDecomposition() (in module pytket.passes)
(pytket.transform.Transform method)
M
MaxNQubitsPredicate (class in pytket.predicates)
MaxTwoQubitGatesPredicate (class in pytket.predicates)
Measure() (pytket.circuit.Circuit method)
measure_all() (pytket.circuit.Circuit method)
N
n_gates() (pytket.circuit.Circuit property)
n_gates_of_type() (pytket.circuit.Circuit method)
n_qubits() (pytket.circuit.Circuit property)
name() (pytket.circuit.CustomGateDef property)
(pytket.circuit.OpType property)
(pytket.passes.SafetyMode property)
NoClassicalBitsPredicate (class in pytket.predicates)
NoClassicalControlPredicate (class in pytket.predicates)
NoFastFeedforwardPredicate (class in pytket.predicates)
NoWireSwapsPredicate (class in pytket.predicates)
O
op() (pytket.circuit.Command property)
OptimiseCliffords() (pytket.transform.Transform method)
OptimisePauliGadgets() (pytket.transform.Transform method)
OptimisePhaseGadgets() (in module pytket.passes)
(pytket.transform.Transform method)
OptimisePostRouting() (pytket.transform.Transform method)
OpType (class in pytket.circuit)
P
PauliExpBox (class in pytket.circuit)
PauliSimp() (in module pytket.passes)
permute_qubits_in_statevector() (in module pytket.utils)
PlacementPredicate (class in pytket.predicates)
Predicate (class in pytket.predicates)
probs_from_counts() (in module pytket.utils)
probs_from_state() (in module pytket.utils)
process_circuits() (pytket.backends.Backend method)
(pytket.backends.forest.ForestBackend method)
(pytket.backends.ibm.AerBackend method)
(pytket.backends.ibm.AerStateBackend method)
(pytket.backends.ibm.AerUnitaryBackend method)
(pytket.backends.ibm.IBMQBackend method)
(pytket.backends.projectq.ProjectQBackend method)
ProjectQBackend (class in pytket.backends.projectq)
pyquil_to_tk() (in module pytket.pyquil)
pytket.backends (module)
pytket.backends.forest (module)
pytket.backends.ibm (module)
pytket.backends.projectq (module)
pytket.circuit (module)
pytket.cirq (module)
pytket.device (module)
pytket.passes (module)
pytket.predicates (module)
pytket.projectq (module)
pytket.pyquil (module)
pytket.pyzx (module)
pytket.qasm (module)
pytket.qiskit (module)
pytket.quipper (module)
pytket.routing (module)
pytket.transform (module)
pytket.utils (module)
pyzx_to_tk() (in module pytket.pyzx)
Q
qind_to_squind() (pytket.routing.SquareGrid method)
qiskit_to_tk() (in module pytket.qiskit)
qubit_readout() (pytket.circuit.Circuit property)
qubits() (pytket.circuit.Circuit property)
(pytket.circuit.Command property)
R
RebaseCirq() (in module pytket.passes)
RebaseHQS() (in module pytket.passes)
RebaseIBM() (in module pytket.passes)
RebaseProjectQ() (in module pytket.passes)
RebasePyZX() (in module pytket.passes)
RebaseQuil() (in module pytket.passes)
RebaseTket() (in module pytket.passes)
RebaseToCirq() (pytket.transform.Transform method)
RebaseToCliffordSingles() (pytket.transform.Transform method)
RebaseToProjectQ() (pytket.transform.Transform method)
RebaseToPyZX() (pytket.transform.Transform method)
RebaseToQiskit() (pytket.transform.Transform method)
RebaseToQuil() (pytket.transform.Transform method)
RebaseToRzRx() (pytket.transform.Transform method)
RebaseUMD() (in module pytket.passes)
receive() (pytket.projectq.tketBackendEngine method)
(pytket.projectq.tketOptimiser method)
ReduceSingles() (pytket.transform.Transform method)
remove_blank_wires() (pytket.circuit.Circuit method)
RemoveRedundancies() (in module pytket.passes)
(pytket.transform.Transform method)
rename_units() (pytket.circuit.Circuit method)
repeat() (pytket.transform.Transform method)
RepeatPass (class in pytket.passes)
RepeatUntilSatisfiedPass (class in pytket.passes)
RepeatWithMetricPass (class in pytket.passes)
required_predicates() (pytket.backends.Backend property)
(pytket.backends.forest.ForestBackend property)
(pytket.backends.ibm.AerBackend property)
(pytket.backends.ibm.AerStateBackend property)
(pytket.backends.ibm.AerUnitaryBackend property)
(pytket.backends.ibm.IBMQBackend property)
(pytket.backends.projectq.ProjectQBackend property)
route() (in module pytket.routing)
run() (pytket.qiskit.TketPass method)
Rx() (pytket.circuit.Circuit method)
Ry() (pytket.circuit.Circuit method)
Rz() (pytket.circuit.Circuit method)
S
S() (pytket.circuit.Circuit method)
SafetyMode (class in pytket.passes)
Sdg() (pytket.circuit.Circuit method)
sequence() (pytket.transform.Transform method)
SequencePass (class in pytket.passes)
SquareGrid (class in pytket.routing)
squind_to_qind() (pytket.routing.SquareGrid method)
SWAP() (pytket.circuit.Circuit method)
symbol_substitution() (pytket.circuit.Circuit method)
SynthesiseHQS() (in module pytket.passes)
SynthesiseIBM() (in module pytket.passes)
SynthesiseUMD() (in module pytket.passes)
T
T() (pytket.circuit.Circuit method)
Tdg() (pytket.circuit.Circuit method)
tk_to_cirq() (in module pytket.cirq)
tk_to_projectq() (in module pytket.projectq)
tk_to_pyquil() (in module pytket.pyquil)
tk_to_pyzx() (in module pytket.pyzx)
tk_to_qiskit() (in module pytket.qiskit)
tketBackendEngine (class in pytket.projectq)
tketOptimiser (class in pytket.projectq)
TketPass (class in pytket.qiskit)
to_latex_file() (pytket.circuit.Circuit method)
Transform (class in pytket.transform)
U
Unitary1qBox (class in pytket.circuit)
Unitary2qBox (class in pytket.circuit)
UnitID (class in pytket.circuit)
UserDefinedPredicate (class in pytket.predicates)
USquashIBM() (in module pytket.passes)
V
valid_circuit() (pytket.backends.Backend method)
valid_connectivity() (pytket.circuit.Circuit method)
verify() (pytket.predicates.Predicate method)
W
while_repeat() (pytket.transform.Transform method)
X
X() (pytket.circuit.Circuit method)
Y
Y() (pytket.circuit.Circuit method)
Z
Z() (pytket.circuit.Circuit method)
ZZPhase() (pytket.circuit.Circuit method)