SYMBOL INDEX (957 symbols across 109 files) FILE: Week10/qiskit-sdk-py-master/examples/python/qft.py function input_state (line 83) | def input_state(circ, q, n): function qft (line 90) | def qft(circ, q, n): FILE: Week10/qiskit-sdk-py-master/examples/python/rippleadd.py function majority (line 75) | def majority(p, a, b, c): function unmajority (line 82) | def unmajority(p, a, b, c): FILE: Week10/qiskit-sdk-py-master/qiskit/_classicalregister.py class ClassicalRegister (line 24) | class ClassicalRegister(Register): method qasm (line 27) | def qasm(self): method __str__ (line 31) | def __str__(self): method __len__ (line 35) | def __len__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/_compositegate.py class CompositeGate (line 25) | class CompositeGate(Gate): method __init__ (line 28) | def __init__(self, name, param, args, circuit=None): method has_register (line 40) | def has_register(self, register): method _modifiers (line 45) | def _modifiers(self, gate): method _attach (line 51) | def _attach(self, gate): method _check_qubit (line 56) | def _check_qubit(self, qubit): method _check_qreg (line 65) | def _check_qreg(self, register): method _check_creg (line 73) | def _check_creg(self, register): method _check_dups (line 81) | def _check_dups(self, qubits): method qasm (line 90) | def qasm(self): method inverse (line 94) | def inverse(self): method q_if (line 100) | def q_if(self, *qregs): method c_if (line 105) | def c_if(self, c, val): FILE: Week10/qiskit-sdk-py-master/qiskit/_gate.py class Gate (line 26) | class Gate(Instruction): method __init__ (line 29) | def __init__(self, name, param, args, circuit=None): method inverse (line 43) | def inverse(self): method q_if (line 47) | def q_if(self, *qregs): FILE: Week10/qiskit-sdk-py-master/qiskit/_instruction.py class Instruction (line 25) | class Instruction(object): method __init__ (line 28) | def __init__(self, name, param, arg, circuit=None): method check_circuit (line 45) | def check_circuit(self): method c_if (line 50) | def c_if(self, classical, val): method _modifiers (line 59) | def _modifiers(self, gate): method _qasmif (line 68) | def _qasmif(self, string): FILE: Week10/qiskit-sdk-py-master/qiskit/_instructionset.py class InstructionSet (line 25) | class InstructionSet(object): method __init__ (line 28) | def __init__(self): method add (line 32) | def add(self, gate): method inverse (line 39) | def inverse(self): method q_if (line 45) | def q_if(self, *qregs): method c_if (line 51) | def c_if(self, c, val): FILE: Week10/qiskit-sdk-py-master/qiskit/_measure.py class Measure (line 24) | class Measure(Instruction): method __init__ (line 27) | def __init__(self, qubit, bit, circuit=None): method qasm (line 31) | def qasm(self): method reapply (line 40) | def reapply(self, circuit): FILE: Week10/qiskit-sdk-py-master/qiskit/_qiskiterror.py class QISKitError (line 23) | class QISKitError(Exception): method __init__ (line 26) | def __init__(self, *message): method __str__ (line 30) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/_quantumcircuit.py class QuantumCircuit (line 32) | class QuantumCircuit(object): method __init__ (line 38) | def __init__(self, *regs): method has_register (line 46) | def has_register(self, register): method get_qregs (line 62) | def get_qregs(self): method get_cregs (line 70) | def get_cregs(self): method combine (line 78) | def combine(self, rhs): method extend (line 93) | def extend(self, rhs): method __add__ (line 106) | def __add__(self, rhs): method __iadd__ (line 110) | def __iadd__(self, rhs): method __len__ (line 114) | def __len__(self): method __getitem__ (line 118) | def __getitem__(self, item): method _attach (line 122) | def _attach(self, gate): method add (line 127) | def add(self, *regs): method _check_qreg (line 138) | def _check_qreg(self, register): method _check_qubit (line 147) | def _check_qubit(self, qubit): method _check_creg (line 152) | def _check_creg(self, register): method _check_dups (line 161) | def _check_dups(self, qubits): method qasm (line 167) | def qasm(self): method measure (line 176) | def measure(self, qubit, cbit): method reset (line 190) | def reset(self, quantum_register): FILE: Week10/qiskit-sdk-py-master/qiskit/_quantumprogram.py function convert (line 54) | def convert(name): class QuantumProgram (line 59) | class QuantumProgram(object): method __init__ (line 100) | def __init__(self, specs=None): method __init_specs (line 116) | def __init_specs(self, specs, verbose=False): method create_quantum_register (line 152) | def create_quantum_register(self, name, size, verbose=False): method create_quantum_registers (line 175) | def create_quantum_registers(self, register_array): method create_classical_register (line 199) | def create_classical_register(self, name, size, verbose=False): method create_classical_registers (line 221) | def create_classical_registers(self, registers_array): method create_circuit (line 244) | def create_circuit(self, name, qregisters=None, cregisters=None): method add_circuit (line 271) | def add_circuit(self, name, quantum_circuit): method load_qasm_file (line 286) | def load_qasm_file(self, qasm_file, name=None, verbose=False): method load_qasm_text (line 316) | def load_qasm_text(self, qasm_string, name=None, verbose=False): method get_quantum_register (line 349) | def get_quantum_register(self, name): method get_classical_register (line 362) | def get_classical_register(self, name): method get_quantum_register_names (line 375) | def get_quantum_register_names(self): method get_classical_register_names (line 379) | def get_classical_register_names(self): method get_circuit (line 383) | def get_circuit(self, name): method get_circuit_names (line 395) | def get_circuit_names(self): method get_qasm (line 399) | def get_qasm(self, name): method get_qasms (line 411) | def get_qasms(self, list_circuit_name): method get_initial_circuit (line 425) | def get_initial_circuit(self): method set_api (line 433) | def set_api(self, token, url, verify=True): method get_api_config (line 451) | def get_api_config(self): method get_api (line 455) | def get_api(self): method save (line 459) | def save(self, file_name=None, beauty=False): method load (line 499) | def load(self, file_name=None): method available_backends (line 535) | def available_backends(self): method local_backends (line 539) | def local_backends(self): method online_backends (line 543) | def online_backends(self): method online_simulators (line 557) | def online_simulators(self): method online_devices (line 570) | def online_devices(self): method get_backend_status (line 583) | def get_backend_status(self, backend): method get_backend_configuration (line 601) | def get_backend_configuration(self, backend, list_format=False): method get_backend_calibration (line 644) | def get_backend_calibration(self, backend): method get_backend_parameters (line 672) | def get_backend_parameters(self, backend): method compile (line 704) | def compile(self, name_of_circuits, backend="local_qasm_simulator", method get_execution_list (line 861) | def get_execution_list(self, qobj, verbose=False): method get_compiled_configuration (line 888) | def get_compiled_configuration(self, qobj, name): method get_compiled_qasm (line 905) | def get_compiled_qasm(self, qobj, name): method _dag2json (line 920) | def _dag2json(self, dag_circuit): method _unroller_code (line 939) | def _unroller_code(self, dag_ciruit, basis_gates=None): method run (line 964) | def run(self, qobj, wait=5, timeout=60, silent=True): method _wait_for_job (line 1008) | def _wait_for_job(self, jobid, wait=5, timeout=60, silent=True): method _run_local_simulator (line 1058) | def _run_local_simulator(self, backend, jobs, silent=True): method execute (line 1085) | def execute(self, name_of_circuits, backend="local_qasm_simulator", class Result (line 1149) | class Result(object): method __init__ (line 1173) | def __init__(self, qobj_result, qobj): method __str__ (line 1177) | def __str__(self): method __iadd__ (line 1185) | def __iadd__(self, other): method __add__ (line 1203) | def __add__(self, other): method get_error (line 1218) | def get_error(self): method get_ran_qasm (line 1224) | def get_ran_qasm(self, name): method get_data (line 1241) | def get_data(self, name): method get_counts (line 1283) | def get_counts(self, name): method average_data (line 1301) | def average_data(self, name, observable): class ResultError (line 1325) | class ResultError(QISKitError): method __init__ (line 1338) | def __init__(self, error): FILE: Week10/qiskit-sdk-py-master/qiskit/_quantumregister.py class QuantumRegister (line 25) | class QuantumRegister(Register): method qasm (line 28) | def qasm(self): method __str__ (line 32) | def __str__(self): method __len__ (line 36) | def __len__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/_register.py class Register (line 25) | class Register(object): method __init__ (line 28) | def __init__(self, name, size): method __str__ (line 38) | def __str__(self): method __len__ (line 42) | def __len__(self): method check_range (line 46) | def check_range(self, j): method __getitem__ (line 51) | def __getitem__(self, key): FILE: Week10/qiskit-sdk-py-master/qiskit/_reset.py class Reset (line 24) | class Reset(Instruction): method __init__ (line 27) | def __init__(self, qubit, circ=None): method qasm (line 31) | def qasm(self): method reapply (line 36) | def reapply(self, circ): FILE: Week10/qiskit-sdk-py-master/qiskit/dagcircuit/_dagcircuit.py class DAGCircuit (line 36) | class DAGCircuit: method __init__ (line 45) | def __init__(self): method get_qubits (line 87) | def get_qubits(self): method rename_register (line 91) | def rename_register(self, regname, newname): method remove_all_ops_named (line 146) | def remove_all_ops_named(self, opname): method deepcopy (line 152) | def deepcopy(self): method fs (line 156) | def fs(self, number): method add_qreg (line 161) | def add_qreg(self, name, size): method add_creg (line 169) | def add_creg(self, name, size): method _add_wire (line 177) | def _add_wire(self, name, isClassical=False): method add_basis_element (line 200) | def add_basis_element(self, name, number_qubits, method add_gate_data (line 224) | def add_gate_data(self, name, gatedata): method _check_basis_data (line 244) | def _check_basis_data(self, name, qargs, cargs, params): method _check_condition (line 280) | def _check_condition(self, name, condition): method _check_bits (line 290) | def _check_bits(self, args, amap, bval): method _bits_in_condition (line 307) | def _bits_in_condition(self, cond): method _add_op_node (line 318) | def _add_op_node(self, nname, nqargs, ncargs, nparams, ncondition): method apply_operation_back (line 338) | def apply_operation_back(self, name, qargs, cargs=[], params=[], method apply_operation_front (line 370) | def apply_operation_front(self, name, qargs, cargs=[], params=[], method _make_union_basis (line 402) | def _make_union_basis(self, input_circuit): method _make_union_gates (line 417) | def _make_union_gates(self, input_circuit): method _check_wiremap_registers (line 445) | def _check_wiremap_registers(self, wire_map, keyregs, valregs, method _check_wiremap_validity (line 493) | def _check_wiremap_validity(self, wire_map, keymap, valmap, input_circ... method _map_condition (line 517) | def _map_condition(self, wire_map, condition): method compose_back (line 534) | def compose_back(self, input_circuit, wire_map={}): method compose_front (line 592) | def compose_front(self, input_circuit, wire_map={}): method size (line 650) | def size(self): method depth (line 654) | def depth(self): method width (line 659) | def width(self): method num_cbits (line 663) | def num_cbits(self): method num_tensor_factors (line 667) | def num_tensor_factors(self): method _gate_string (line 671) | def _gate_string(self, name): method qasm (line 687) | def qasm(self, decls_only=False, add_swap=False, method _check_wires_list (line 791) | def _check_wires_list(self, wires, name, input_circuit): method _make_pred_succ_maps (line 814) | def _make_pred_succ_maps(self, n): method _full_pred_succ_maps (line 826) | def _full_pred_succ_maps(self, pred_map, succ_map, input_circuit, method substitute_circuit_all (line 857) | def substitute_circuit_all(self, name, input_circuit, wires=[]): method substitute_circuit_one (line 946) | def substitute_circuit_one(self, node, input_circuit, wires=[]): method get_named_nodes (line 1035) | def get_named_nodes(self, name): method _remove_op_node (line 1050) | def _remove_op_node(self, n): method remove_ancestors_of (line 1060) | def remove_ancestors_of(self, node): method remove_descendants_of (line 1070) | def remove_descendants_of(self, node): method remove_nonancestors_of (line 1078) | def remove_nonancestors_of(self, node): method remove_nondescendants_of (line 1087) | def remove_nondescendants_of(self, node): method layers (line 1096) | def layers(self): method serial_layers (line 1185) | def serial_layers(self): method collect_runs (line 1222) | def collect_runs(self, namelist): method count_ops (line 1258) | def count_ops(self): method property_summary (line 1275) | def property_summary(self): FILE: Week10/qiskit-sdk-py-master/qiskit/dagcircuit/_dagcircuiterror.py class DAGCircuitError (line 23) | class DAGCircuitError(QISKitError): method __init__ (line 26) | def __init__(self, *msg): method __str__ (line 30) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/_extensionerror.py class ExtensionError (line 23) | class ExtensionError(QISKitError): method __init__ (line 26) | def __init__(self, *message): method __str__ (line 30) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/barrier.py class Barrier (line 28) | class Barrier(Instruction): method __init__ (line 31) | def __init__(self, args, circ): method inverse (line 35) | def inverse(self): method qasm (line 39) | def qasm(self): method reapply (line 52) | def reapply(self, circ): function barrier (line 57) | def barrier(self, *tuples): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/ccx.py class ToffoliGate (line 27) | class ToffoliGate(Gate): method __init__ (line 30) | def __init__(self, ctl1, ctl2, tgt, circ=None): method qasm (line 34) | def qasm(self): method inverse (line 46) | def inverse(self): method reapply (line 50) | def reapply(self, circ): function ccx (line 55) | def ccx(self, ctl1, ctl2, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/ch.py class CHGate (line 28) | class CHGate(Gate): method __init__ (line 31) | def __init__(self, ctl, tgt, circ=None): method qasm (line 35) | def qasm(self): method inverse (line 42) | def inverse(self): method reapply (line 46) | def reapply(self, circ): function ch (line 51) | def ch(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/crz.py class CrzGate (line 28) | class CrzGate(Gate): method __init__ (line 31) | def __init__(self, theta, ctl, tgt, circ=None): method qasm (line 35) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 48) | def reapply(self, circ): function crz (line 53) | def crz(self, theta, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cswap.py class FredkinGate (line 27) | class FredkinGate(CompositeGate): method __init__ (line 30) | def __init__(self, ctl, tgt1, tgt2, circ=None): method reapply (line 38) | def reapply(self, circ): function cswap (line 43) | def cswap(self, ctl, tgt1, tgt2): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cu1.py class Cu1Gate (line 29) | class Cu1Gate(Gate): method __init__ (line 32) | def __init__(self, theta, ctl, tgt, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 44) | def inverse(self): method reapply (line 49) | def reapply(self, circ): function cu1 (line 54) | def cu1(self, theta, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cu3.py class Cu3Gate (line 29) | class Cu3Gate(Gate): method __init__ (line 32) | def __init__(self, theta, phi, lam, ctl, tgt, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 47) | def inverse(self): method reapply (line 55) | def reapply(self, circ): function cu3 (line 60) | def cu3(self, theta, phi, lam, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cx.py class CnotGate (line 29) | class CnotGate(Gate): method __init__ (line 32) | def __init__(self, ctl, tgt, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 47) | def reapply(self, circ): function cx (line 52) | def cx(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cxbase.py class CXBase (line 27) | class CXBase(Gate): method __init__ (line 30) | def __init__(self, ctl, tgt, circ=None): method qasm (line 34) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function cx_base (line 50) | def cx_base(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cy.py class CyGate (line 28) | class CyGate(Gate): method __init__ (line 31) | def __init__(self, ctl, tgt, circ=None): method qasm (line 35) | def qasm(self): method inverse (line 42) | def inverse(self): method reapply (line 46) | def reapply(self, circ): function cy (line 51) | def cy(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/cz.py class CzGate (line 27) | class CzGate(Gate): method __init__ (line 30) | def __init__(self, ctl, tgt, circ=None): method qasm (line 34) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function cz (line 50) | def cz(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/gatestools.py function attach_gate (line 22) | def attach_gate(element, quantum_register, gate, gate_class): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/h.py class HGate (line 29) | class HGate(Gate): method __init__ (line 32) | def __init__(self, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function h (line 50) | def h(self, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/iden.py class IdGate (line 29) | class IdGate(Gate): method __init__ (line 32) | def __init__(self, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function iden (line 50) | def iden(self, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/rx.py class RXGate (line 29) | class RXGate(Gate): method __init__ (line 32) | def __init__(self, theta, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 51) | def reapply(self, circ): function rx (line 56) | def rx(self, theta, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/ry.py class RYGate (line 29) | class RYGate(Gate): method __init__ (line 32) | def __init__(self, theta, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 51) | def reapply(self, circ): function ry (line 56) | def ry(self, theta, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/rz.py class RZGate (line 29) | class RZGate(Gate): method __init__ (line 32) | def __init__(self, phi, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 51) | def reapply(self, circ): function rz (line 56) | def rz(self, phi, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/s.py class SGate (line 30) | class SGate(CompositeGate): method __init__ (line 33) | def __init__(self, qubit, circ=None): method reapply (line 38) | def reapply(self, circ): method qasm (line 42) | def qasm(self): function s (line 52) | def s(self, q): function sdg (line 64) | def sdg(self, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/swap.py class SwapGate (line 27) | class SwapGate(Gate): method __init__ (line 30) | def __init__(self, ctl, tgt, circ=None): method qasm (line 34) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function swap (line 50) | def swap(self, ctl, tgt): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/t.py class TGate (line 30) | class TGate(CompositeGate): method __init__ (line 33) | def __init__(self, qubit, circ=None): method reapply (line 38) | def reapply(self, circ): method qasm (line 42) | def qasm(self): function t (line 52) | def t(self, q): function tdg (line 64) | def tdg(self, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/u1.py class U1Gate (line 29) | class U1Gate(Gate): method __init__ (line 32) | def __init__(self, theta, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 43) | def inverse(self): method reapply (line 48) | def reapply(self, circ): function u1 (line 53) | def u1(self, theta, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/u2.py class U2Gate (line 30) | class U2Gate(Gate): method __init__ (line 33) | def __init__(self, phi, lam, qubit, circ=None): method qasm (line 37) | def qasm(self): method inverse (line 46) | def inverse(self): method reapply (line 56) | def reapply(self, circ): function u2 (line 61) | def u2(self, phi, lam, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/u3.py class U3Gate (line 29) | class U3Gate(Gate): method __init__ (line 32) | def __init__(self, theta, phi, lam, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 46) | def inverse(self): method reapply (line 57) | def reapply(self, circ): function u3 (line 63) | def u3(self, theta, phi, lam, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/ubase.py class UBase (line 27) | class UBase(Gate): method __init__ (line 30) | def __init__(self, param, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 45) | def inverse(self): method reapply (line 56) | def reapply(self, circ): function u_base (line 61) | def u_base(self, tpl, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/x.py class XGate (line 29) | class XGate(Gate): method __init__ (line 32) | def __init__(self, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function x (line 50) | def x(self, q): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/y.py class YGate (line 29) | class YGate(Gate): method __init__ (line 32) | def __init__(self, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circuit): function y (line 50) | def y(self, quantum_register): FILE: Week10/qiskit-sdk-py-master/qiskit/extensions/standard/z.py class ZGate (line 29) | class ZGate(Gate): method __init__ (line 32) | def __init__(self, qubit, circ=None): method qasm (line 36) | def qasm(self): method inverse (line 41) | def inverse(self): method reapply (line 45) | def reapply(self, circ): function z (line 50) | def z(self, quantum_register): FILE: Week10/qiskit-sdk-py-master/qiskit/mapper/_compiling.py function euler_angles_1q (line 28) | def euler_angles_1q(unitary_matrix): function simplify_U (line 84) | def simplify_U(theta, phi, lam): function rz_array (line 126) | def rz_array(theta): function ry_array (line 135) | def ry_array(theta): function two_qubit_kak (line 146) | def two_qubit_kak(unitary_matrix): FILE: Week10/qiskit-sdk-py-master/qiskit/mapper/_coupling.py function coupling_dict2list (line 31) | def coupling_dict2list(couplingdict): function coupling_list2dict (line 50) | def coupling_list2dict(couplinglist): class Coupling (line 71) | class Coupling: method __init__ (line 79) | def __init__(self, couplingdict=None): method size (line 106) | def size(self): method get_qubits (line 110) | def get_qubits(self): method get_edges (line 114) | def get_edges(self): method add_qubit (line 122) | def add_qubit(self, name): method add_edge (line 137) | def add_edge(self, s_name, d_name): method connected (line 150) | def connected(self): method compute_distance (line 158) | def compute_distance(self): method distance (line 174) | def distance(self, q1, q2): method __str__ (line 184) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/mapper/_couplingerror.py class CouplingError (line 23) | class CouplingError(QISKitError): method __init__ (line 26) | def __init__(self, *msg): method __str__ (line 30) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/mapper/_mappererror.py class MapperError (line 24) | class MapperError(QISKitError): method __init__ (line 27) | def __init__(self, *message): method __str__ (line 31) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/mapper/_mapping.py function layer_permutation (line 40) | def layer_permutation(layer_partition, layout, qubit_subset, coupling, t... function direction_mapper (line 212) | def direction_mapper(circuit_graph, coupling_graph, verbose=False): function update_qasm (line 264) | def update_qasm(i, first_layer, best_layout, best_d, function swap_mapper (line 316) | def swap_mapper(circuit_graph, coupling_graph, function test_trig_solution (line 481) | def test_trig_solution(theta, phi, lamb, xi, theta1, theta2): function yzy_to_zyz (line 506) | def yzy_to_zyz(xi, theta1, theta2, eps=1e-9): function compose_u3 (line 600) | def compose_u3(theta1, phi1, lambda1, theta2, phi2, lambda2): function cx_cancellation (line 617) | def cx_cancellation(circuit): function optimize_1q_gates (line 643) | def optimize_1q_gates(circuit): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_barrier.py class Barrier (line 24) | class Barrier(Node): method __init__ (line 30) | def __init__(self, children): method qasm (line 34) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_binaryop.py class BinaryOp (line 25) | class BinaryOp(Node): method __init__ (line 33) | def __init__(self, children): method qasm (line 37) | def qasm(self, prec=15): method latex (line 42) | def latex(self, prec=15, nested_scope=None): method real (line 48) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_cnot.py class Cnot (line 24) | class Cnot(Node): method __init__ (line 31) | def __init__(self, children): method qasm (line 35) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_creg.py class Creg (line 24) | class Creg(Node): method __init__ (line 30) | def __init__(self, children): method to_string (line 44) | def to_string(self, indent): method qasm (line 50) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_customunitary.py class CustomUnitary (line 24) | class CustomUnitary(Node): method __init__ (line 38) | def __init__(self, children): method qasm (line 50) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_expressionlist.py class ExpressionList (line 24) | class ExpressionList(Node): method __init__ (line 30) | def __init__(self, children): method size (line 34) | def size(self): method qasm (line 38) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_external.py class External (line 26) | class External(Node): method __init__ (line 33) | def __init__(self, children): method qasm (line 37) | def qasm(self, prec=15): method latex (line 42) | def latex(self, prec=15, nested_scope=None): method real (line 47) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_gate.py class Gate (line 24) | class Gate(Node): method __init__ (line 34) | def __init__(self, children): method n_args (line 52) | def n_args(self): method n_bits (line 58) | def n_bits(self): method qasm (line 62) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_gatebody.py class GateBody (line 24) | class GateBody(Node): method __init__ (line 31) | def __init__(self, children): method qasm (line 35) | def qasm(self, prec=15): method calls (line 42) | def calls(self): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_id.py class Id (line 25) | class Id(Node): method __init__ (line 32) | def __init__(self, id, line, file): method to_string (line 42) | def to_string(self, indent): method qasm (line 47) | def qasm(self, prec=15): method latex (line 51) | def latex(self, prec=15, nested_scope=None): method real (line 65) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_idlist.py class IdList (line 24) | class IdList(Node): method __init__ (line 30) | def __init__(self, children): method size (line 34) | def size(self): method qasm (line 38) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_if.py class If (line 24) | class If(Node): method __init__ (line 33) | def __init__(self, children): method qasm (line 37) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_indexedid.py class IndexedId (line 24) | class IndexedId(Node): method __init__ (line 31) | def __init__(self, children): method to_string (line 40) | def to_string(self, indent): method qasm (line 45) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_intnode.py class Int (line 24) | class Int(Node): method __init__ (line 30) | def __init__(self, id): method to_string (line 35) | def to_string(self, indent): method qasm (line 40) | def qasm(self, prec=15): method latex (line 44) | def latex(self, prec=15, nested_scope=None): method real (line 48) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_magic.py class Magic (line 24) | class Magic(Node): method __init__ (line 30) | def __init__(self, children): method qasm (line 34) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_measure.py class Measure (line 24) | class Measure(Node): method __init__ (line 31) | def __init__(self, children): method qasm (line 35) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_node.py class Node (line 23) | class Node(object): method __init__ (line 26) | def __init__(self, type, children=None, root=None): method is_expression (line 37) | def is_expression(self): method add_child (line 41) | def add_child(self, node): method to_string (line 45) | def to_string(self, indent): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_nodeexception.py class NodeException (line 23) | class NodeException(Exception): method __init__ (line 26) | def __init__(self, *msg): method __str__ (line 30) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_opaque.py class Opaque (line 24) | class Opaque(Node): method __init__ (line 33) | def __init__(self, children): method n_args (line 48) | def n_args(self): method n_bits (line 54) | def n_bits(self): method qasm (line 58) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_prefix.py class Prefix (line 25) | class Prefix(Node): method __init__ (line 32) | def __init__(self, children): method qasm (line 36) | def qasm(self, prec=15): method latex (line 40) | def latex(self, prec=15, nested_scope=None): method real (line 45) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_primarylist.py class PrimaryList (line 24) | class PrimaryList(Node): method __init__ (line 30) | def __init__(self, children): method size (line 34) | def size(self): method qasm (line 38) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_program.py class Program (line 24) | class Program(Node): method __init__ (line 30) | def __init__(self, children): method qasm (line 34) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_qreg.py class Qreg (line 24) | class Qreg(Node): method __init__ (line 30) | def __init__(self, children): method to_string (line 44) | def to_string(self, indent): method qasm (line 50) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_real.py class Real (line 25) | class Real(Node): method __init__ (line 31) | def __init__(self, id): method to_string (line 36) | def to_string(self, indent): method qasm (line 41) | def qasm(self, prec=15): method latex (line 46) | def latex(self, prec=15, nested_scope=None): method real (line 53) | def real(self, nested_scope=None): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_reset.py class Reset (line 24) | class Reset(Node): method __init__ (line 30) | def __init__(self, children): method qasm (line 34) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_node/_universalunitary.py class UniversalUnitary (line 24) | class UniversalUnitary(Node): method __init__ (line 31) | def __init__(self, children): method qasm (line 35) | def qasm(self, prec=15): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_qasm.py class Qasm (line 25) | class Qasm(object): method __init__ (line 28) | def __init__(self, filename=None, data=None): method get_filename (line 38) | def get_filename(self): method print_tokens (line 42) | def print_tokens(self): method parse (line 50) | def parse(self): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_qasmerror.py class QasmError (line 24) | class QasmError(QISKitError): method __init__ (line 27) | def __init__(self, *msg): method __str__ (line 31) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_qasmlexer.py class QasmLexer (line 34) | class QasmLexer(object): method __mklexer__ (line 41) | def __mklexer__(self, filename): method __init__ (line 47) | def __init__(self, filename): method input (line 52) | def input(self, data): method token (line 57) | def token(self): method pop (line 62) | def pop(self): method push (line 68) | def push(self, filename): method t_REAL (line 101) | def t_REAL(self, t): method t_NNINTEGER (line 107) | def t_NNINTEGER(self, t): method t_QREG (line 112) | def t_QREG(self, t): method t_CREG (line 116) | def t_CREG(self, t): method t_GATE (line 120) | def t_GATE(self, t): method t_MEASURE (line 124) | def t_MEASURE(self, t): method t_IF (line 128) | def t_IF(self, t): method t_RESET (line 132) | def t_RESET(self, t): method t_ASSIGN (line 136) | def t_ASSIGN(self, t): method t_MATCHES (line 140) | def t_MATCHES(self, t): method t_BARRIER (line 144) | def t_BARRIER(self, t): method t_OPAQUE (line 148) | def t_OPAQUE(self, t): method t_STRING (line 152) | def t_STRING(self, t): method t_INCLUDE (line 156) | def t_INCLUDE(self, t): method t_MAGIC (line 192) | def t_MAGIC(self, t): method t_COMMENT (line 196) | def t_COMMENT(self, t): method t_CX (line 200) | def t_CX(self, t): method t_U (line 204) | def t_U(self, t): method t_ID (line 208) | def t_ID(self, t): method t_newline (line 218) | def t_newline(self, t): method t_eof (line 223) | def t_eof(self, t): method t_error (line 232) | def t_error(self, t): FILE: Week10/qiskit-sdk-py-master/qiskit/qasm/_qasmparser.py class QasmParser (line 28) | class QasmParser(object): method __init__ (line 31) | def __init__(self, filename): method update_symtab (line 46) | def update_symtab(self, obj): method verify_declared_bit (line 64) | def verify_declared_bit(self, obj): method verify_bit_list (line 80) | def verify_bit_list(self, obj): method verify_exp_list (line 88) | def verify_exp_list(self, obj): method verify_as_gate (line 110) | def verify_as_gate(self, obj, bitlist, arglist=None): method verify_reg (line 143) | def verify_reg(self, obj, object_type): method verify_reg_list (line 169) | def verify_reg_list(self, obj, object_type): method id_tuple_list (line 177) | def id_tuple_list(self, id_node): method verify_distinct (line 194) | def verify_distinct(self, list_of_nodes): method pop_scope (line 238) | def pop_scope(self): method push_scope (line 242) | def push_scope(self): method p_main (line 250) | def p_main(self, program): method p_program_0 (line 260) | def p_program_0(self, program): method p_program_1 (line 266) | def p_program_1(self, program): method p_statement (line 278) | def p_statement(self, program): method p_magic (line 293) | def p_magic(self, program): method p_magic_0 (line 299) | def p_magic_0(self, program): method p_id (line 310) | def p_id(self, program): method p_id_e (line 316) | def p_id_e(self, program): method p_indexed_id (line 326) | def p_indexed_id(self, program): method p_primary (line 344) | def p_primary(self, program): method p_id_list_0 (line 355) | def p_id_list_0(self, program): method p_id_list_1 (line 361) | def p_id_list_1(self, program): method p_gate_id_list_0 (line 372) | def p_gate_id_list_0(self, program): method p_gate_id_list_1 (line 379) | def p_gate_id_list_1(self, program): method p_bit_list_0 (line 391) | def p_bit_list_0(self, program): method p_bit_list_1 (line 399) | def p_bit_list_1(self, program): method p_primary_list_0 (line 412) | def p_primary_list_0(self, program): method p_primary_list_1 (line 418) | def p_primary_list_1(self, program): method p_decl (line 430) | def p_decl(self, program): method p_qreg_decl (line 447) | def p_qreg_decl(self, program): method p_qreg_decl_e (line 459) | def p_qreg_decl_e(self, program): method p_creg_decl (line 469) | def p_creg_decl(self, program): method p_creg_decl_e (line 481) | def p_creg_decl_e(self, program): method p_gate_decl_0 (line 498) | def p_gate_decl_0(self, program): method p_gate_decl_1 (line 509) | def p_gate_decl_1(self, program): method p_gate_decl_2 (line 520) | def p_gate_decl_2(self, program): method p_gate_scope (line 532) | def p_gate_scope(self, program): method p_gate_body_0 (line 548) | def p_gate_body_0(self, program): method p_gate_body_1 (line 557) | def p_gate_body_1(self, program): method p_gate_op_list_0 (line 570) | def p_gate_op_list_0(self, program): method p_gate_op_list_1 (line 576) | def p_gate_op_list_1(self, program): method p_unitary_op_0 (line 596) | def p_unitary_op_0(self, program): method p_unitary_op_1 (line 604) | def p_unitary_op_1(self, program): method p_unitary_op_2 (line 615) | def p_unitary_op_2(self, program): method p_unitary_op_3 (line 624) | def p_unitary_op_3(self, program): method p_unitary_op_4 (line 633) | def p_unitary_op_4(self, program): method p_gate_op_0 (line 654) | def p_gate_op_0(self, program): method p_gate_op_0e1 (line 662) | def p_gate_op_0e1(self, p): method p_gate_op_0e2 (line 669) | def p_gate_op_0e2(self, program): method p_gate_op_1 (line 675) | def p_gate_op_1(self, program): method p_gate_op_1e1 (line 684) | def p_gate_op_1e1(self, program): method p_gate_op_1e2 (line 692) | def p_gate_op_1e2(self, program): method p_gate_op_2 (line 700) | def p_gate_op_2(self, program): method p_gate_op_2e (line 712) | def p_gate_op_2e(self, program): method p_gate_op_3 (line 718) | def p_gate_op_3(self, program): method p_gate_op_4 (line 727) | def p_gate_op_4(self, program): method p_gate_op_4e0 (line 737) | def p_gate_op_4e0(self, program): method p_gate_op_4e1 (line 744) | def p_gate_op_4e1(self, program): method p_gate_op_5 (line 751) | def p_gate_op_5(self, program): method p_gate_op_5e (line 759) | def p_gate_op_5e(self, program): method p_opaque_0 (line 772) | def p_opaque_0(self, program): method p_opaque_1 (line 784) | def p_opaque_1(self, program): method p_opaque_2 (line 792) | def p_opaque_2(self, program): method p_opaque_1e (line 803) | def p_opaque_1e(self, program): method p_measure (line 812) | def p_measure(self, program): method p_measure_e (line 820) | def p_measure_e(self, program): method p_barrier (line 832) | def p_barrier(self, program): method p_reset (line 843) | def p_reset(self, program): method p_if (line 853) | def p_if(self, program): method p_quantum_op (line 890) | def p_quantum_op(self, program): method p_unary_0 (line 911) | def p_unary_0(self, program): method p_unary_1 (line 917) | def p_unary_1(self, program): method p_unary_2 (line 923) | def p_unary_2(self, program): method p_unary_3 (line 929) | def p_unary_3(self, program): method p_unary_4 (line 935) | def p_unary_4(self, program): method p_unary_6 (line 941) | def p_unary_6(self, program): method p_prefix_expression_0 (line 954) | def p_prefix_expression_0(self, program): method p_prefix_expression_1 (line 960) | def p_prefix_expression_1(self, program): method p_additive_expression_0 (line 967) | def p_additive_expression_0(self, program): method p_additive_expression_1 (line 973) | def p_additive_expression_1(self, program): method p_multiplicative_expression_0 (line 980) | def p_multiplicative_expression_0(self, program): method p_multiplicative_expression_1 (line 986) | def p_multiplicative_expression_1(self, program): method p_expression_0 (line 993) | def p_expression_0(self, program): method p_expression_1 (line 999) | def p_expression_1(self, program): method p_exp_list_0 (line 1009) | def p_exp_list_0(self, program): method p_exp_list_1 (line 1015) | def p_exp_list_1(self, program): method p_ignore (line 1022) | def p_ignore(self, program): method p_error (line 1029) | def p_error(self, program): method find_column (line 1039) | def find_column(self, input, token): method print_tokens (line 1053) | def print_tokens(self): method parse_debug (line 1069) | def parse_debug(self, val): method parse (line 1079) | def parse(self, data): method print_tree (line 1087) | def print_tree(self): method run (line 1094) | def run(self, data): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_localsimulator.py function local_backends (line 70) | def local_backends(): class LocalSimulator (line 109) | class LocalSimulator: method __init__ (line 113) | def __init__(self, backend, job): method run (line 119) | def run(self, silent=False): method result (line 124) | def result(self): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_qasm_cpp_simulator.py class QasmCppSimulator (line 24) | class QasmCppSimulator: method __init__ (line 29) | def __init__(self, job): method run (line 76) | def run(self, silent=True): function parse_complex (line 118) | def parse_complex(output, key): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_qasmsimulator.py class QasmSimulator (line 128) | class QasmSimulator(object): method _index1 (line 132) | def _index1(b, i, k): method _index2 (line 152) | def _index2(b1, i1, b2, i2, k): method __init__ (line 170) | def __init__(self, job): method _add_qasm_single (line 190) | def _add_qasm_single(self, gate, qubit): method _add_qasm_cx (line 206) | def _add_qasm_cx(self, q0, q1): method _add_qasm_decision (line 223) | def _add_qasm_decision(self, qubit): method _add_qasm_measure (line 241) | def _add_qasm_measure(self, qubit, cbit): method _add_qasm_reset (line 258) | def _add_qasm_reset(self, qubit): method run (line 284) | def run(self, silent=True): method _format_result (line 350) | def _format_result(self, counts): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_simulatorerror.py class SimulatorError (line 26) | class SimulatorError(QISKitError): method __init__ (line 29) | def __init__(self, *message): method __str__ (line 33) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_simulatortools.py function index1 (line 34) | def index1(b, i, k): function index2 (line 54) | def index2(b1, i1, b2, i2, k): function enlarge_single_opt (line 73) | def enlarge_single_opt(opt, qubit, number_of_qubits): function enlarge_two_opt (line 90) | def enlarge_two_opt(opt, q0, q1, num): function single_gate_params (line 110) | def single_gate_params(gate, params=None): function single_gate_matrix (line 129) | def single_gate_matrix(gate, params=None): FILE: Week10/qiskit-sdk-py-master/qiskit/simulators/_unitarysimulator.py class UnitarySimulator (line 107) | class UnitarySimulator(object): method __init__ (line 110) | def __init__(self, job): method _add_unitary_single (line 121) | def _add_unitary_single(self, gate, qubit): method _add_unitary_two (line 132) | def _add_unitary_two(self, gate, q0, q1): method run (line 143) | def run(self, silent=True): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_backenderror.py class BackendError (line 24) | class BackendError(QISKitError): method __init__ (line 27) | def __init__(self, *message): method __str__ (line 31) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_circuitbackend.py class CircuitBackend (line 32) | class CircuitBackend(UnrollerBackend): method __init__ (line 38) | def __init__(self, basis=None): method set_basis (line 54) | def set_basis(self, basis): method version (line 61) | def version(self, version): method new_qreg (line 68) | def new_qreg(self, name, size): method new_creg (line 78) | def new_creg(self, name, size): method define_gate (line 88) | def define_gate(self, name, gatedata): method _map_qubit (line 98) | def _map_qubit(self, qubit): method _map_bit (line 105) | def _map_bit(self, bit): method _map_creg (line 112) | def _map_creg(self, creg): method u (line 119) | def u(self, arg, qubit, nested_scope=None): method cx (line 137) | def cx(self, qubit0, qubit1): method measure (line 151) | def measure(self, qubit, bit): method barrier (line 164) | def barrier(self, qubitlists): method reset (line 177) | def reset(self, qubit): method set_condition (line 188) | def set_condition(self, creg, cval): method drop_condition (line 197) | def drop_condition(self): method start_gate (line 202) | def start_gate(self, name, args, qubits, nested_scope=None): method end_gate (line 278) | def end_gate(self, name, args, qubits, nested_scope=None): method get_output (line 291) | def get_output(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_dagbackend.py class DAGBackend (line 26) | class DAGBackend(UnrollerBackend): method __init__ (line 29) | def __init__(self, basis=None): method set_basis (line 46) | def set_basis(self, basis): method define_gate (line 50) | def define_gate(self, name, gatedata): method version (line 55) | def version(self, version): method new_qreg (line 62) | def new_qreg(self, name, size): method new_creg (line 70) | def new_creg(self, name, size): method u (line 78) | def u(self, arg, qubit, nested_scope=None): method cx (line 98) | def cx(self, qubit0, qubit1): method measure (line 115) | def measure(self, qubit, bit): method barrier (line 131) | def barrier(self, qubitlists): method reset (line 146) | def reset(self, qubit): method set_condition (line 160) | def set_condition(self, creg, cval): method drop_condition (line 169) | def drop_condition(self): method start_gate (line 174) | def start_gate(self, name, args, qubits, nested_scope=None): method end_gate (line 198) | def end_gate(self, name, args, qubits, nested_scope=None): method get_output (line 211) | def get_output(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_jsonbackend.py class JsonBackend (line 52) | class JsonBackend(UnrollerBackend): method __init__ (line 55) | def __init__(self, basis=None): method set_basis (line 82) | def set_basis(self, basis): method version (line 89) | def version(self, version): method new_qreg (line 96) | def new_qreg(self, name, size): method new_creg (line 111) | def new_creg(self, name, size): method define_gate (line 125) | def define_gate(self, name, gatedata): method u (line 133) | def u(self, arg, qubit, nested_scope=None): method _add_condition (line 157) | def _add_condition(self): method cx (line 178) | def cx(self, qubit0, qubit1): method measure (line 195) | def measure(self, qubit, cbit): method barrier (line 212) | def barrier(self, qubitlists): method reset (line 231) | def reset(self, qubit): method set_condition (line 245) | def set_condition(self, creg, cval): method drop_condition (line 254) | def drop_condition(self): method start_gate (line 259) | def start_gate(self, name, args, qubits, nested_scope=None): method end_gate (line 287) | def end_gate(self, name, args, qubits, nested_scope=None): method get_output (line 300) | def get_output(self): method _is_circuit_valid (line 307) | def _is_circuit_valid(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_printerbackend.py class PrinterBackend (line 25) | class PrinterBackend(UnrollerBackend): method __init__ (line 31) | def __init__(self, basis=None): method set_comments (line 49) | def set_comments(self, comments): method set_basis (line 53) | def set_basis(self, basis): method version (line 60) | def version(self, version): method new_qreg (line 67) | def new_qreg(self, name, size): method new_creg (line 76) | def new_creg(self, name, size): method _gate_string (line 84) | def _gate_string(self, name): method define_gate (line 100) | def define_gate(self, name, gatedata): method u (line 122) | def u(self, arg, qubit, nested_scope=None): method cx (line 141) | def cx(self, qubit0, qubit1): method measure (line 155) | def measure(self, qubit, bit): method barrier (line 168) | def barrier(self, qubitlists): method reset (line 184) | def reset(self, qubit): method set_condition (line 195) | def set_condition(self, creg, cval): method drop_condition (line 206) | def drop_condition(self): method start_gate (line 213) | def start_gate(self, name, args, qubits, nested_scope=None): method end_gate (line 244) | def end_gate(self, name, args, qubits, nested_scope=None): method get_output (line 263) | def get_output(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_unroller.py class Unroller (line 25) | class Unroller(object): method __init__ (line 28) | def __init__(self, ast, backend=None, precision=15, filename=None): method _process_bit_id (line 54) | def _process_bit_id(self, node): method _process_custom_unitary (line 85) | def _process_custom_unitary(self, node): method _process_gate (line 124) | def _process_gate(self, node, opaque=False): method _process_cnot (line 145) | def _process_cnot(self, node): method _process_measure (line 161) | def _process_measure(self, node): method _process_if (line 171) | def _process_if(self, node): method _process_children (line 179) | def _process_children(self, node): method _process_node (line 184) | def _process_node(self, node): method set_backend (line 272) | def set_backend(self, backend): method execute (line 276) | def execute(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_unrollerbackend.py class UnrollerBackend (line 24) | class UnrollerBackend(object): method __init__ (line 30) | def __init__(self, basis=None): method set_basis (line 39) | def set_basis(self, basis): method version (line 46) | def version(self, version): method new_qreg (line 53) | def new_qreg(self, name, size): method new_creg (line 61) | def new_creg(self, name, size): method define_gate (line 69) | def define_gate(self, name, gatedata): method u (line 77) | def u(self, arg, qubit, nested_scope=None): method cx (line 87) | def cx(self, qubit0, qubit1): method measure (line 95) | def measure(self, qubit, bit): method barrier (line 103) | def barrier(self, qubitlists): method reset (line 110) | def reset(self, qubit): method set_condition (line 117) | def set_condition(self, creg, cval): method drop_condition (line 125) | def drop_condition(self): method start_gate (line 129) | def start_gate(self, name, args, qubits, nested_scope=None): method end_gate (line 140) | def end_gate(self, name, args, qubits, nested_scope=None): method get_output (line 151) | def get_output(self): FILE: Week10/qiskit-sdk-py-master/qiskit/unroll/_unrollererror.py class UnrollerError (line 24) | class UnrollerError(QISKitError): method __init__ (line 27) | def __init__(self, *message): method __str__ (line 31) | def __str__(self): FILE: Week10/qiskit-sdk-py-master/test/python/__init__.py function load_tests (line 3) | def load_tests(loader, standard_tests, pattern): FILE: Week10/qiskit-sdk-py-master/test/python/_random_qasm_generator.py class RandomQasmGenerator (line 12) | class RandomQasmGenerator(): method __init__ (line 16) | def __init__(self, seed=None, method add_circuits (line 38) | def add_circuits(self, nCircuits, doMeasure=True): method get_circuit_names (line 81) | def get_circuit_names(self): method getProgram (line 84) | def getProgram(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_apps.py class TestQuantumOptimization (line 29) | class TestQuantumOptimization(unittest.TestCase): method setUpClass (line 33) | def setUpClass(cls): method test_trial_functions (line 41) | def test_trial_functions(self): class TestHamiltonian (line 65) | class TestHamiltonian(unittest.TestCase): method setUpClass (line 68) | def setUpClass(cls): method test_hamiltonian (line 75) | def test_hamiltonian(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_jsonoutput.py class TestJsonOutput (line 27) | class TestJsonOutput(unittest.TestCase): method setUpClass (line 34) | def setUpClass(cls): method setUp (line 41) | def setUp(self): method test_json_output (line 45) | def test_json_output(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_local_simulator.py class LocalSimulatorTest (line 16) | class LocalSimulatorTest(unittest.TestCase): method setUpClass (line 22) | def setUpClass(cls): method tearDownClass (line 30) | def tearDownClass(cls): method setUp (line 34) | def setUp(self): method tearDown (line 50) | def tearDown(self): method test_local_configuration_present (line 53) | def test_local_configuration_present(self): method test_local_configurations (line 56) | def test_local_configurations(self): method test_simulator_classes (line 67) | def test_simulator_classes(self): method test_local_backends (line 73) | def test_local_backends(self): method test_instantiation (line 78) | def test_instantiation(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_qasm_python_simulator.py class LocalQasmSimulatorTest (line 30) | class LocalQasmSimulatorTest(unittest.TestCase): method setUpClass (line 34) | def setUpClass(cls): method tearDownClass (line 43) | def tearDownClass(cls): method setUp (line 46) | def setUp(self): method tearDown (line 52) | def tearDown(self): method test_qasm_simulator_single_shot (line 55) | def test_qasm_simulator_single_shot(self): method test_qasm_simulator (line 69) | def test_qasm_simulator(self): method test_if_statement (line 85) | def test_if_statement(self): method test_teleport (line 135) | def test_teleport(self): method profile_qasm_simulator (line 183) | def profile_qasm_simulator(self): method profile_nqubit_speed_grow_depth (line 222) | def profile_nqubit_speed_grow_depth(self): method profile_nqubit_speed_constant_depth (line 296) | def profile_nqubit_speed_constant_depth(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_qi.py class TestQI (line 30) | class TestQI(unittest.TestCase): method setUpClass (line 34) | def setUpClass(cls): method test_partial_trace (line 41) | def test_partial_trace(self): method test_vectorize (line 68) | def test_vectorize(self): method test_devectorize (line 79) | def test_devectorize(self): method test_outer (line 90) | def test_outer(self): method test_state_fidelity (line 103) | def test_state_fidelity(self): method test_purity (line 119) | def test_purity(self): method test_concurrence (line 128) | def test_concurrence(self): class TestPauli (line 142) | class TestPauli(unittest.TestCase): method setUpClass (line 146) | def setUpClass(cls): method test_pauli (line 153) | def test_pauli(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_quantumprogram.py class TestQuantumProgram (line 73) | class TestQuantumProgram(unittest.TestCase): method test_create_program_with_specs (line 80) | def test_create_program_with_specs(self): method test_create_program (line 95) | def test_create_program(self): method test_config_scripts_file (line 107) | def test_config_scripts_file(self): method test_create_classical_register (line 120) | def test_create_classical_register(self): method test_create_quantum_register (line 134) | def test_create_quantum_register(self): method test_fail_create_quantum_register (line 148) | def test_fail_create_quantum_register(self): method test_fail_create_classical_register (line 166) | def test_fail_create_classical_register(self): method test_create_quantum_register_same (line 185) | def test_create_quantum_register_same(self): method test_create_classical_register_same (line 200) | def test_create_classical_register_same(self): method test_create_classical_registers (line 215) | def test_create_classical_registers(self): method test_create_quantum_registers (line 232) | def test_create_quantum_registers(self): method test_create_circuit (line 249) | def test_create_circuit(self): method test_create_several_circuits (line 265) | def test_create_several_circuits(self): method test_load_qasm_file (line 287) | def test_load_qasm_file(self): method test_fail_load_qasm_file (line 304) | def test_fail_load_qasm_file(self): method test_load_qasm_text (line 319) | def test_load_qasm_text(self): method test_get_register_and_circuit (line 343) | def test_get_register_and_circuit(self): method test_get_register_and_circuit_names (line 361) | def test_get_register_and_circuit_names(self): method test_get_qasm (line 385) | def test_get_qasm(self): method test_get_qasms (line 407) | def test_get_qasms(self): method test_get_qasm_all_gates (line 436) | def test_get_qasm_all_gates(self): method test_get_initial_circuit (line 468) | def test_get_initial_circuit(self): method test_save (line 480) | def test_save(self): method test_save_wrong (line 505) | def test_save_wrong(self): method test_load (line 512) | def test_load(self): method test_load_wrong (line 524) | def test_load_wrong(self): method test_contact_multiple_vertical_circuits (line 532) | def test_contact_multiple_vertical_circuits(self): method test_setup_api (line 539) | def test_setup_api(self): method test_available_backends_exist (line 549) | def test_available_backends_exist(self): method test_local_backends_exist (line 559) | def test_local_backends_exist(self): method test_online_backends_exist (line 569) | def test_online_backends_exist(self): method test_online_devices (line 581) | def test_online_devices(self): method test_online_simulators (line 593) | def test_online_simulators(self): method test_backend_status (line 605) | def test_backend_status(self): method test_backend_status_fail (line 614) | def test_backend_status_fail(self): method test_get_backend_configuration (line 622) | def test_get_backend_configuration(self): method test_get_backend_configuration_fail (line 632) | def test_get_backend_configuration_fail(self): method test_get_backend_calibration (line 641) | def test_get_backend_calibration(self): method test_get_backend_parameters (line 655) | def test_get_backend_parameters(self): method test_compile_program (line 673) | def test_compile_program(self): method test_get_compiled_configuration (line 693) | def test_get_compiled_configuration(self): method test_get_compiled_qasm (line 714) | def test_get_compiled_qasm(self): method test_get_execution_list (line 735) | def test_get_execution_list(self): method test_compile_coupling_map (line 756) | def test_compile_coupling_map(self): method test_run_program (line 791) | def test_run_program(self): method test_combine_results (line 820) | def test_combine_results(self): method test_local_qasm_simulator (line 843) | def test_local_qasm_simulator(self): method test_local_qasm_simulator_one_shot (line 876) | def test_local_qasm_simulator_one_shot(self): method test_local_unitary_simulator (line 910) | def test_local_unitary_simulator(self): method test_run_program_map (line 937) | def test_run_program_map(self): method test_execute_program_map (line 960) | def test_execute_program_map(self): method test_average_data (line 982) | def test_average_data(self): method test_execute_one_circuit_simulator_online (line 1009) | def test_execute_one_circuit_simulator_online(self): method test_execute_several_circuits_simulator_online (line 1024) | def test_execute_several_circuits_simulator_online(self): method test_execute_one_circuit_real_online (line 1042) | def test_execute_one_circuit_real_online(self): method test_add_circuit (line 1070) | def test_add_circuit(self): method test_example_multiple_compile (line 1095) | def test_example_multiple_compile(self): method test_example_swap_bits (line 1162) | def test_example_swap_bits(self): FILE: Week10/qiskit-sdk-py-master/test/python/test_unitary_python_simulator.py class LocalUnitarySimulatorTest (line 29) | class LocalUnitarySimulatorTest(unittest.TestCase): method setUp (line 32) | def setUp(self): method tearDown (line 42) | def tearDown(self): method test_unitary_simulator (line 45) | def test_unitary_simulator(self): method profile_unitary_simulator (line 72) | def profile_unitary_simulator(self): FILE: Week10/qiskit-sdk-py-master/tools/apps/fermion.py function parity_set (line 44) | def parity_set(j,n): function update_set (line 54) | def update_set(j,n): function flip_set (line 64) | def flip_set(j,n): function pauli_term_append (line 76) | def pauli_term_append(pauli_term,pauli_list,threshold): function fermionic_maps (line 115) | def fermionic_maps(h1,h2,map_type,out_file=None,threshold=0.000000000001): function two_qubit_reduction (line 336) | def two_qubit_reduction(ham_in,m,out_file=None,threshold=0.000000000001): FILE: Week10/qiskit-sdk-py-master/tools/apps/optimization.py function SPSA_optimization (line 31) | def SPSA_optimization(obj_fun, initial_theta, SPSA_parameters, max_trial... function SPSA_calibration (line 79) | def SPSA_calibration(obj_fun, initial_theta, initial_c, target_update, s... function Measure_pauli_z (line 119) | def Measure_pauli_z(data, pauli): function Energy_Estimate (line 146) | def Energy_Estimate(data, pauli_list): function trial_circuit_ry (line 160) | def trial_circuit_ry(n, m, theta, entangler_map, meas_string = None, mea... function trial_circuit_computational (line 201) | def trial_circuit_computational(n, state, meas_string = None, measuremen... function trial_circuit_ryrz (line 231) | def trial_circuit_ryrz(n, m, theta, entangler_map, meas_string = None, m... function make_Hamiltonian (line 272) | def make_Hamiltonian(pauli_list): function Hamiltonian_from_file (line 284) | def Hamiltonian_from_file(file_name): FILE: Week10/qiskit-sdk-py-master/tools/qcvv/fitters.py function exp_fit_fun (line 27) | def exp_fit_fun(x, a, tau, c): function osc_fit_fun (line 32) | def osc_fit_fun(x, a, tau, f, phi, c): function plot_coherence (line 37) | def plot_coherence(xdata, ydata, std_error, fit, fit_function, xunit, ex... function plot_rb_data (line 64) | def plot_rb_data(xdata, ydatas, yavg, fit, survival_prob): FILE: Week10/qiskit-sdk-py-master/tools/qcvv/tomography.py function build_state_tomography_circuits (line 53) | def build_state_tomography_circuits(Q_program, name, qubits, qreg, creg, function build_process_tomography_circuits (line 85) | def build_process_tomography_circuits(Q_program, name, qubits, qreg, creg, function __tomo_dicts (line 133) | def __tomo_dicts(qubits, basis=None, states=False): function __add_meas_circuits (line 163) | def __add_meas_circuits(Q_program, name, qubits, qreg, creg): function __add_prep_gates (line 201) | def __add_prep_gates(circuit, qreg, qubit, op): function __add_prep_circuits (line 220) | def __add_prep_circuits(Q_program, name, qubits, qreg, creg): function __tomo_labels (line 257) | def __tomo_labels(name, qubits, basis=None, states=False): function state_tomography_circuit_names (line 274) | def state_tomography_circuit_names(name, qubits): function process_tomography_circuit_names (line 292) | def process_tomography_circuit_names(name, qubits): function __counts_keys (line 317) | def __counts_keys(n): function marginal_counts (line 330) | def marginal_counts(counts, meas_qubits): function __get_meas_basis_ops (line 395) | def __get_meas_basis_ops(tup, basis): function __meas_basis (line 405) | def __meas_basis(n, basis): function __get_prep_basis_op (line 413) | def __get_prep_basis_op(dic, basis): function __prep_basis (line 423) | def __prep_basis(n, basis): function state_tomography_data (line 432) | def state_tomography_data(Q_result, name, meas_qubits, basis=None): function process_tomography_data (line 468) | def process_tomography_data(Q_result, name, meas_qubits, basis=None): function __tomo_basis_matrix (line 517) | def __tomo_basis_matrix(meas_basis): function __tomo_linear_inv (line 531) | def __tomo_linear_inv(freqs, ops, weights=None, trace=None): function __leastsq_fit (line 572) | def __leastsq_fit(data, weights=None, trace=None, beta=None): function __wizard (line 617) | def __wizard(rho, epsilon=None): function __get_option (line 653) | def __get_option(opt, options): function fit_tomography_data (line 663) | def fit_tomography_data(data, method=None, options=None): FILE: Week10/qiskit-sdk-py-master/tools/qi/pauli.py class Pauli (line 26) | class Pauli: method __init__ (line 47) | def __init__(self, v, w): method __str__ (line 53) | def __str__(self): method __mul__ (line 63) | def __mul__(self, other): method to_label (line 72) | def to_label(self): method to_matrix (line 86) | def to_matrix(self): function random_pauli (line 114) | def random_pauli(numberofqubits): function sgn_prod (line 122) | def sgn_prod(P1, P2): function inverse_pauli (line 150) | def inverse_pauli(other): function label_to_pauli (line 156) | def label_to_pauli(label): function pauli_group (line 178) | def pauli_group(numberofqubits, case=0): function pauli_singles (line 225) | def pauli_singles(jindex, numberofqubits): FILE: Week10/qiskit-sdk-py-master/tools/qi/qi.py function qft (line 35) | def qft(circ, q, n): function partial_trace (line 48) | def partial_trace(state, sys, dims=None, reverse=True): function __trace_middle_dims (line 106) | def __trace_middle_dims(sys, dims, reverse=True): function __trace_middle (line 128) | def __trace_middle(op, dim1=1, dim2=1, dim3=1): function vectorize (line 147) | def vectorize(rho, method='col'): function devectorize (line 180) | def devectorize(vec, method='col'): function choi_to_rauli (line 217) | def choi_to_rauli(choi, order=1): function chop (line 253) | def chop(op, epsilon=1e-10): function outer (line 269) | def outer(v1, v2=None): function funm_svd (line 295) | def funm_svd(a, func): function state_fidelity (line 313) | def state_fidelity(state1, state2): function purity (line 347) | def purity(state): function concurrence (line 361) | def concurrence(state): function is_pos_def (line 387) | def is_pos_def(x): FILE: Week10/qiskit-sdk-py-master/tools/visualization.py function plot_histogram (line 35) | def plot_histogram(data, number_to_keep=False): class Arrow3D (line 73) | class Arrow3D(FancyArrowPatch): method __init__ (line 76) | def __init__(self, xs, ys, zs, *args, **kwargs): method draw (line 81) | def draw(self, renderer): function plot_bloch_vector (line 89) | def plot_bloch_vector(bloch, title=""): function plot_state_city (line 154) | def plot_state_city(rho, title=""): function plot_state_paulivec (line 222) | def plot_state_paulivec(rho, title=""): function n_choose_k (line 258) | def n_choose_k(n, k): function lex_index (line 277) | def lex_index(n, k, lst): function bit_string_index (line 295) | def bit_string_index(s): function phase_to_color_wheel (line 304) | def phase_to_color_wheel(complex_number): function plot_state_qsphere (line 329) | def plot_state_qsphere(rho): function plot_state (line 434) | def plot_state(rho, method='city'):