Index _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z _ __call__() (lambeq.ansatz.BaseAnsatz method) (lambeq.ansatz.CircuitAnsatz method) (lambeq.ansatz.MPSAnsatz method) (lambeq.ansatz.SpiderAnsatz method) (lambeq.ansatz.TensorAnsatz method) (lambeq.backend.grammar.Category method) (lambeq.backend.grammar.Functor method) (lambeq.BaseAnsatz method) (lambeq.bobcat.BertForChartClassification method) (lambeq.bobcat.ChartParser method) (lambeq.bobcat.Tagger method) (lambeq.CCGRule method) (lambeq.CircuitAnsatz method) (lambeq.DiagramRewriter method) (lambeq.LossFunction method) (lambeq.Model method) (lambeq.MPSAnsatz method) (lambeq.QuantumModel method) (lambeq.rewrite.CoordinationRewriteRule method) (lambeq.rewrite.CurryRewriteRule method) (lambeq.rewrite.DiagramRewriter method) (lambeq.rewrite.RemoveCupsRewriter method) (lambeq.rewrite.RemoveSwapsRewriter method) (lambeq.rewrite.Rewriter method) (lambeq.rewrite.RewriteRule method) (lambeq.rewrite.SimpleRewriteRule method) (lambeq.rewrite.UnifyCodomainRewriter method) (lambeq.rewrite.UnknownWordsRewriteRule method) (lambeq.Rewriter method) (lambeq.RewriteRule method) (lambeq.SpiderAnsatz method) (lambeq.TensorAnsatz method) (lambeq.text2diagram.CCGRule method) (lambeq.training.BinaryCrossEntropyLoss method) (lambeq.training.CrossEntropyLoss method) (lambeq.training.LossFunction method) (lambeq.training.Model method) (lambeq.training.MSELoss method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) __init__() (lambeq.ansatz.BaseAnsatz method) (lambeq.ansatz.CircuitAnsatz method) (lambeq.ansatz.IQPAnsatz method) (lambeq.ansatz.MPSAnsatz method) (lambeq.ansatz.Sim14Ansatz method) (lambeq.ansatz.Sim15Ansatz method) (lambeq.ansatz.Sim4Ansatz method) (lambeq.ansatz.SpiderAnsatz method) (lambeq.ansatz.StronglyEntanglingAnsatz method) (lambeq.ansatz.TensorAnsatz method) (lambeq.backend.converters.tk.Circuit method) (lambeq.backend.drawing.DrawableDiagram method) (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Category method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Diagrammable method) (lambeq.backend.grammar.Entity method) (lambeq.backend.grammar.Functor method) (lambeq.backend.grammar.Layer method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.numerical_backend.Backend method) (lambeq.backend.numerical_backend.JAX method) (lambeq.backend.numerical_backend.NumPy method) (lambeq.backend.numerical_backend.PyTorch method) (lambeq.backend.numerical_backend.TensorFlow method) (lambeq.backend.pennylane.PennyLaneCircuit method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Layer method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.snake_removal.InterchangerError method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Layer method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) (lambeq.BaseAnsatz method) (lambeq.BinaryCrossEntropyLoss method) (lambeq.bobcat.BertForChartClassification method) (lambeq.bobcat.Category method) (lambeq.bobcat.ChartParser method) (lambeq.bobcat.Grammar method) (lambeq.bobcat.ParseTree method) (lambeq.bobcat.Sentence method) (lambeq.bobcat.Supertag method) (lambeq.bobcat.Tagger method) (lambeq.BobcatParseError method) (lambeq.BobcatParser method) (lambeq.CCGBankParseError method) (lambeq.CCGBankParser method) (lambeq.CCGParser method) (lambeq.CCGRuleUseError method) (lambeq.CCGTree method) (lambeq.CCGType method) (lambeq.Checkpoint method) (lambeq.CircuitAnsatz method) (lambeq.CoordinationRewriteRule method) (lambeq.CrossEntropyLoss method) (lambeq.CurryRewriteRule method) (lambeq.Dataset method) (lambeq.DepCCGParseError method) (lambeq.DepCCGParser method) (lambeq.IQPAnsatz method) (lambeq.LinearReader method) (lambeq.LossFunction method) (lambeq.Model method) (lambeq.MPSAnsatz method) (lambeq.NelderMeadOptimizer method) (lambeq.NumpyModel method) (lambeq.Optimizer method) (lambeq.PennyLaneModel method) (lambeq.PytorchModel method) (lambeq.PytorchTrainer method) (lambeq.QuantumModel method) (lambeq.QuantumTrainer method) (lambeq.rewrite.CoordinationRewriteRule method) (lambeq.rewrite.CurryRewriteRule method) (lambeq.rewrite.Rewriter method) (lambeq.rewrite.SimpleRewriteRule method) (lambeq.rewrite.UnifyCodomainRewriter method) (lambeq.rewrite.UnknownWordsRewriteRule method) (lambeq.Rewriter method) (lambeq.RotosolveOptimizer method) (lambeq.Sim14Ansatz method) (lambeq.Sim15Ansatz method) (lambeq.Sim4Ansatz method) (lambeq.SimpleRewriteRule method) (lambeq.SpacyTokeniser method) (lambeq.SpiderAnsatz method) (lambeq.SPSAOptimizer method) (lambeq.StronglyEntanglingAnsatz method) (lambeq.TensorAnsatz method) (lambeq.text2diagram.BobcatParseError method) (lambeq.text2diagram.BobcatParser method) (lambeq.text2diagram.CCGBankParseError method) (lambeq.text2diagram.CCGBankParser method) (lambeq.text2diagram.CCGParser method) (lambeq.text2diagram.CCGRule method) (lambeq.text2diagram.CCGRuleUseError method) (lambeq.text2diagram.CCGTree method) (lambeq.text2diagram.CCGType method) (lambeq.text2diagram.DepCCGParseError method) (lambeq.text2diagram.DepCCGParser method) (lambeq.text2diagram.LinearReader method) (lambeq.text2diagram.TreeReader method) (lambeq.text2diagram.WebParseError method) (lambeq.text2diagram.WebParser method) (lambeq.TketModel method) (lambeq.tokeniser.SpacyTokeniser method) (lambeq.Trainer method) (lambeq.training.BinaryCrossEntropyLoss method) (lambeq.training.Checkpoint method) (lambeq.training.CrossEntropyLoss method) (lambeq.training.Dataset method) (lambeq.training.LossFunction method) (lambeq.training.Model method) (lambeq.training.MSELoss method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.NumpyModel method) (lambeq.training.Optimizer method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumModel method) (lambeq.training.QuantumTrainer method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) (lambeq.training.TketModel method) (lambeq.training.Trainer method) (lambeq.TreeReader method) (lambeq.UnifyCodomainRewriter method) (lambeq.UnknownWordsRewriteRule method) (lambeq.WebParseError method) (lambeq.WebParser method) A AAMS() (lambeq.backend.converters.tk.Circuit method) active_adapter() (lambeq.bobcat.BertForChartClassification method) active_adapters() (lambeq.bobcat.BertForChartClassification method) add_adapter() (lambeq.bobcat.BertForChartClassification method) add_assertion() (lambeq.backend.converters.tk.Circuit method) add_barrier() (lambeq.backend.converters.tk.Circuit method) add_bit() (lambeq.backend.converters.tk.Circuit method) add_blank_wires() (lambeq.backend.converters.tk.Circuit method) add_c_and() (lambeq.backend.converters.tk.Circuit method) add_c_and_to_registers() (lambeq.backend.converters.tk.Circuit method) add_c_copybits() (lambeq.backend.converters.tk.Circuit method) add_c_copyreg() (lambeq.backend.converters.tk.Circuit method) add_c_modifier() (lambeq.backend.converters.tk.Circuit method) add_c_not() (lambeq.backend.converters.tk.Circuit method) add_c_not_to_registers() (lambeq.backend.converters.tk.Circuit method) add_c_or() (lambeq.backend.converters.tk.Circuit method) add_c_or_to_registers() (lambeq.backend.converters.tk.Circuit method) add_c_predicate() (lambeq.backend.converters.tk.Circuit method) add_c_range_predicate() (lambeq.backend.converters.tk.Circuit method) add_c_register() (lambeq.backend.converters.tk.Circuit method) add_c_setbits() (lambeq.backend.converters.tk.Circuit method) add_c_setreg() (lambeq.backend.converters.tk.Circuit method) add_c_transform() (lambeq.backend.converters.tk.Circuit method) add_c_xor() (lambeq.backend.converters.tk.Circuit method) add_c_xor_to_registers() (lambeq.backend.converters.tk.Circuit method) add_circbox() (lambeq.backend.converters.tk.Circuit method) add_circbox_regwise() (lambeq.backend.converters.tk.Circuit method) add_circbox_with_regmap() (lambeq.backend.converters.tk.Circuit method) add_circuit() (lambeq.backend.converters.tk.Circuit method) add_classicalexpbox_bit() (lambeq.backend.converters.tk.Circuit method) add_classicalexpbox_register() (lambeq.backend.converters.tk.Circuit method) add_conditional_barrier() (lambeq.backend.converters.tk.Circuit method) add_conjugation_box() (lambeq.backend.converters.tk.Circuit method) add_custom_gate() (lambeq.backend.converters.tk.Circuit method) add_diagonal_box() (lambeq.backend.converters.tk.Circuit method) add_dummybox() (lambeq.backend.converters.tk.Circuit method) add_expbox() (lambeq.backend.converters.tk.Circuit method) add_gate() (lambeq.backend.converters.tk.Circuit method) add_many() (lambeq.Checkpoint method) (lambeq.training.Checkpoint method) add_memory_hooks() (lambeq.bobcat.BertForChartClassification method) add_model_tags() (lambeq.bobcat.BertForChartClassification method) add_module() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) add_multiplexed_tensored_u2() (lambeq.backend.converters.tk.Circuit method) add_multiplexedrotation() (lambeq.backend.converters.tk.Circuit method) add_multiplexedu2() (lambeq.backend.converters.tk.Circuit method) add_multiplexor() (lambeq.backend.converters.tk.Circuit method) add_note() (lambeq.backend.snake_removal.InterchangerError method) (lambeq.text2diagram.BobcatParseError method) (lambeq.text2diagram.CCGBankParseError method) (lambeq.text2diagram.CCGRuleUseError method) (lambeq.text2diagram.DepCCGParseError method) (lambeq.text2diagram.WebParseError method) add_pauliexpbox() (lambeq.backend.converters.tk.Circuit method) add_pauliexpcommutingsetbox() (lambeq.backend.converters.tk.Circuit method) add_pauliexppairbox() (lambeq.backend.converters.tk.Circuit method) add_phase() (lambeq.backend.converters.tk.Circuit method) add_phasepolybox() (lambeq.backend.converters.tk.Circuit method) add_q_register() (lambeq.backend.converters.tk.Circuit method) add_qcontrolbox() (lambeq.backend.converters.tk.Circuit method) add_qubit() (lambeq.backend.converters.tk.Circuit method) add_rules() (lambeq.rewrite.Rewriter method) (lambeq.Rewriter method) add_state_preparation_box() (lambeq.backend.converters.tk.Circuit method) add_termsequencebox() (lambeq.backend.converters.tk.Circuit method) add_toffolibox() (lambeq.backend.converters.tk.Circuit method) add_unitary1qbox() (lambeq.backend.converters.tk.Circuit method) add_unitary2qbox() (lambeq.backend.converters.tk.Circuit method) add_unitary3qbox() (lambeq.backend.converters.tk.Circuit method) add_wasm() (lambeq.backend.converters.tk.Circuit method) add_wasm_to_reg() (lambeq.backend.converters.tk.Circuit method) adjoint ansatz (plural: ansätze) AntiConjugate (class in lambeq.backend.quantum) append() (lambeq.backend.converters.tk.Circuit method) apply() (lambeq.bobcat.BertForChartClassification method) (lambeq.CCGRule method) (lambeq.text2diagram.CCGRule method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) apply_functor() (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Diagrammable method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) apply_gate() (lambeq.backend.quantum.Diagram method) apply_parametrized_gate() (lambeq.backend.quantum.Diagram method) ar() (lambeq.backend.grammar.Functor method) ar_with_cache() (lambeq.backend.grammar.Functor method) args (lambeq.backend.snake_removal.InterchangerError attribute) (lambeq.text2diagram.BobcatParseError attribute) (lambeq.text2diagram.CCGBankParseError attribute) (lambeq.text2diagram.CCGRuleUseError attribute) (lambeq.text2diagram.DepCCGParseError attribute) (lambeq.text2diagram.WebParseError attribute) argument (lambeq.bobcat.Category attribute) (lambeq.CCGType property) (lambeq.text2diagram.CCGType property) array (lambeq.backend.quantum.AntiConjugate property) (lambeq.backend.quantum.Bit property) (lambeq.backend.quantum.Box property) (lambeq.backend.quantum.Bra property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Daggered property) (lambeq.backend.quantum.Discard property) (lambeq.backend.quantum.Encode property) (lambeq.backend.quantum.Ket property) (lambeq.backend.quantum.Measure property) (lambeq.backend.quantum.MixedState property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) (lambeq.backend.quantum.Scalar property) (lambeq.backend.quantum.SelfConjugate property) (lambeq.backend.quantum.Sqrt property) (lambeq.backend.quantum.Swap property) (lambeq.backend.tensor.Box property) (lambeq.backend.tensor.Cap property) (lambeq.backend.tensor.Cup property) (lambeq.backend.tensor.Daggered property) (lambeq.backend.tensor.Spider property) (lambeq.backend.tensor.Swap property) atom (lambeq.bobcat.Category attribute) AtomicType (class in lambeq) available_models() (lambeq.BobcatParser static method) (lambeq.text2diagram.BobcatParser static method) available_modes() (lambeq.text2diagram.TreeReader class method) (lambeq.TreeReader class method) available_rules() (lambeq.rewrite.Rewriter class method) (lambeq.Rewriter class method) B ba() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) Backend (class in lambeq.backend.numerical_backend) backend() (in module lambeq.backend.numerical_backend) backward() (lambeq.NelderMeadOptimizer method) (lambeq.Optimizer method) (lambeq.RotosolveOptimizer method) (lambeq.SPSAOptimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.Optimizer method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) BACKWARD_APPLICATION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) BACKWARD_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) BACKWARD_CROSSED_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) BACKWARD_TYPE_RAISING (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) bag-of-words bag_of_words_reader (in module lambeq.text2diagram) base_model (lambeq.bobcat.BertForChartClassification property) base_model_prefix (lambeq.bobcat.BertForChartClassification attribute) BaseAnsatz (class in lambeq) (class in lambeq.ansatz) bc() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) BertForChartClassification (class in lambeq.bobcat) bfloat16() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) binary_rules (lambeq.bobcat.Grammar attribute) BinaryCrossEntropyLoss (class in lambeq) (class in lambeq.training) Bit (class in lambeq.backend.quantum) bit_readout (lambeq.backend.converters.tk.Circuit property) bits (lambeq.backend.converters.tk.Circuit property) Bobcat BobcatParseError, [1] BobcatParser (class in lambeq) (class in lambeq.text2diagram) BOND_TYPE (lambeq.ansatz.MPSAnsatz attribute) (lambeq.MPSAnsatz attribute) bounds (lambeq.NelderMeadOptimizer attribute) (lambeq.training.NelderMeadOptimizer attribute) Box (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (class in lambeq.backend.tensor) (lambeq.backend.grammar.Category attribute) box (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Layer attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Layer attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Layer attribute) box_d2l() (in module lambeq.backend.converters.discopy) box_l2d() (in module lambeq.backend.converters.discopy) boxes (lambeq.backend.drawing.DrawableDiagram attribute) (lambeq.backend.grammar.Diagram property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.tensor.Diagram property) Bra (class in lambeq.backend.quantum) buffers() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) bwd (lambeq.bobcat.Category property) bwd_comp (lambeq.bobcat.ParseTree property) bx() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) C c_registers (lambeq.backend.converters.tk.Circuit property) calc_score_binary() (lambeq.bobcat.ChartParser method) calc_score_unary() (lambeq.bobcat.ChartParser method) calculate_loss() (lambeq.BinaryCrossEntropyLoss method) (lambeq.CrossEntropyLoss method) (lambeq.LossFunction method) (lambeq.MSELoss method) (lambeq.training.BinaryCrossEntropyLoss method) (lambeq.training.CrossEntropyLoss method) (lambeq.training.LossFunction method) (lambeq.training.MSELoss method) call_super_init (lambeq.bobcat.BertForChartClassification attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) can_generate() (lambeq.bobcat.BertForChartClassification class method) cap Cap (class in lambeq.backend.grammar) (class in lambeq.backend.tensor) capitalize() (lambeq.text2diagram.CCGRule method) caps() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) casefold() (lambeq.text2diagram.CCGRule method) cat (lambeq.bobcat.ParseTree attribute) categorical quantum mechanics (CQM) categories (lambeq.bobcat.Grammar attribute) category Category (class in lambeq.backend.grammar) (class in lambeq.bobcat) category (lambeq.backend.grammar.Box attribute) (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Diagram attribute) (lambeq.backend.grammar.Entity attribute) (lambeq.backend.grammar.Layer attribute) (lambeq.backend.grammar.Spider attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.grammar.Ty attribute) (lambeq.backend.grammar.Word attribute) (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Diagram attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Layer attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.quantum.Ty attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Diagram attribute) (lambeq.backend.tensor.Dim attribute) (lambeq.backend.tensor.Layer attribute) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) (lambeq.bobcat.Supertag attribute) CCGBank CCGBankParseError, [1] CCGBankParser (class in lambeq) (class in lambeq.text2diagram) CCGParser (class in lambeq) (class in lambeq.text2diagram) CCGRule (class in lambeq) (class in lambeq.text2diagram) CCGRuleUseError, [1] CCGTree (class in lambeq) (class in lambeq.text2diagram) CCGType (class in lambeq) (class in lambeq.text2diagram) CCX() (lambeq.backend.converters.tk.Circuit method) center() (lambeq.text2diagram.CCGRule method) CH() (lambeq.backend.converters.tk.Circuit method) characters_written (lambeq.text2diagram.WebParseError attribute) ChartParser (class in lambeq.bobcat) check_match() (lambeq.CCGRule method) (lambeq.text2diagram.CCGRule method) Checkpoint (class in lambeq) (class in lambeq.training) child (lambeq.CCGTree property) (lambeq.text2diagram.CCGTree property) children() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) Circuit (class in lambeq.backend.converters.tk) circuit() (lambeq.ansatz.IQPAnsatz method) (lambeq.ansatz.Sim14Ansatz method) (lambeq.ansatz.Sim15Ansatz method) (lambeq.ansatz.Sim4Ansatz method) (lambeq.ansatz.StronglyEntanglingAnsatz method) (lambeq.IQPAnsatz method) (lambeq.Sim14Ansatz method) (lambeq.Sim15Ansatz method) (lambeq.Sim4Ansatz method) (lambeq.StronglyEntanglingAnsatz method) circuit_map (lambeq.PennyLaneModel attribute) CircuitAnsatz (class in lambeq) (class in lambeq.ansatz) cod (lambeq.backend.grammar.Box attribute) (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Diagram attribute) (lambeq.backend.grammar.Diagrammable property) (lambeq.backend.grammar.Layer property) (lambeq.backend.grammar.Spider attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.grammar.Word attribute) (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Diagram attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Layer property) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Diagram attribute) (lambeq.backend.tensor.Layer property) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) collapse_noun_phrases() (lambeq.CCGTree method) (lambeq.text2diagram.CCGTree method) Combinatory Categorial Grammar (CCG) commands_of_type() (lambeq.backend.converters.tk.Circuit method) compact closed category compile() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) compositional model compute_transition_scores() (lambeq.bobcat.BertForChartClassification method) config_class (lambeq.bobcat.BertForChartClassification attribute) CONJ_TAG (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) CONJUNCTION (lambeq.AtomicType attribute) (lambeq.CCGRule attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGRule attribute) (lambeq.text2diagram.CCGType attribute) contains_sympy() (lambeq.backend.pennylane.PennyLaneCircuit method) contrastive_search() (lambeq.bobcat.BertForChartClassification method) Controlled (class in lambeq.backend.quantum) convert_grammar_d2l() (in module lambeq.backend.converters.discopy) convert_grammar_l2d() (in module lambeq.backend.converters.discopy) convert_quantum_d2l() (in module lambeq.backend.converters.discopy) convert_quantum_l2d() (in module lambeq.backend.converters.discopy) convert_tensor_d2l() (in module lambeq.backend.converters.discopy) convert_tensor_l2d() (in module lambeq.backend.converters.discopy) coordinated (lambeq.bobcat.ParseTree property) coordinated_or_type_raised (lambeq.bobcat.ParseTree property) CoordinationRewriteRule (class in lambeq) (class in lambeq.rewrite) copy() (lambeq.backend.converters.tk.Circuit method) count() (lambeq.backend.grammar.Ty method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Dim method) (lambeq.text2diagram.CCGRule method) cpu() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) create_extended_attention_mask_for_decoder() (lambeq.bobcat.BertForChartClassification static method) create_pregroup_diagram() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) created_qubits (lambeq.backend.converters.tk.Circuit property) CrossEntropyLoss (class in lambeq) (class in lambeq.training) CRx() (in module lambeq.backend.quantum) (lambeq.backend.converters.tk.Circuit method) CRy() (in module lambeq.backend.quantum) (lambeq.backend.converters.tk.Circuit method) CRz() (in module lambeq.backend.quantum) (lambeq.backend.converters.tk.Circuit method) CS() (lambeq.backend.converters.tk.Circuit method) CSdg() (lambeq.backend.converters.tk.Circuit method) CSWAP() (lambeq.backend.converters.tk.Circuit method) CSX() (lambeq.backend.converters.tk.Circuit method) CSXdg() (lambeq.backend.converters.tk.Circuit method) CU1() (lambeq.backend.converters.tk.Circuit method) CU3() (lambeq.backend.converters.tk.Circuit method) cuda() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) cup Cup (class in lambeq.backend.grammar) (class in lambeq.backend.tensor) cups() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) cups_reader (in module lambeq.text2diagram) curry() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) CurryRewriteRule (class in lambeq) (class in lambeq.rewrite) CV() (lambeq.backend.converters.tk.Circuit method) CVdg() (lambeq.backend.converters.tk.Circuit method) CX() (lambeq.backend.converters.tk.Circuit method) CY() (lambeq.backend.converters.tk.Circuit method) CZ() (lambeq.backend.converters.tk.Circuit method) D dagger() (lambeq.backend.converters.tk.Circuit method) (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Layer method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Layer method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Layer method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) Daggered (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (class in lambeq.backend.tensor) data (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) Dataset (class in lambeq) (class in lambeq.training) decompose() (lambeq.backend.quantum.Controlled method) default_assumptions (lambeq.ansatz.Symbol attribute) (lambeq.Symbol attribute) depccg DepCCGParseError, [1] DepCCGParser (class in lambeq) (class in lambeq.text2diagram) deps (lambeq.bobcat.ParseTree property) deps_and_tags (lambeq.bobcat.ParseTree property) depth() (lambeq.backend.converters.tk.Circuit method) depth_2q() (lambeq.backend.converters.tk.Circuit method) depth_by_type() (lambeq.backend.converters.tk.Circuit method) dequantize() (lambeq.bobcat.BertForChartClassification method) deriv() (lambeq.CCGTree method) (lambeq.text2diagram.CCGTree method) device (lambeq.bobcat.BertForChartClassification property) Diagram (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (class in lambeq.backend.tensor) (lambeq.backend.grammar.Category attribute) Diagrammable (class in lambeq.backend.grammar) DiagramRewriter (class in lambeq) (class in lambeq.rewrite) Dim (class in lambeq.backend.tensor) dim (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Dim property) dir (lambeq.bobcat.Category attribute) directed_cod (lambeq.ansatz.Symbol attribute) (lambeq.Symbol attribute) directed_dom (lambeq.ansatz.Symbol attribute) (lambeq.Symbol attribute) direction (lambeq.CCGType property) (lambeq.text2diagram.CCGType property) disable_adapters() (lambeq.bobcat.BertForChartClassification method) disable_input_require_grads() (lambeq.bobcat.BertForChartClassification method) Discard (class in lambeq.backend.quantum) discarded_qubits (lambeq.backend.converters.tk.Circuit property) DisCoCat DisCoPy dom (lambeq.backend.grammar.Box attribute) (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Diagram attribute) (lambeq.backend.grammar.Diagrammable property) (lambeq.backend.grammar.Layer property) (lambeq.backend.grammar.Spider attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.grammar.Word attribute) (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Diagram attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Layer property) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Diagram attribute) (lambeq.backend.tensor.Layer property) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) double() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) draw() (in module lambeq.backend.drawing) (lambeq.backend.grammar.Diagram method) (lambeq.backend.pennylane.PennyLaneCircuit method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) draw_equation() (in module lambeq.backend.drawing) draw_pregroup() (in module lambeq.backend.drawing) DrawableDiagram (class in lambeq.backend.drawing) dtype (lambeq.bobcat.BertForChartClassification property) dummy_inputs (lambeq.bobcat.BertForChartClassification property) dump_patches (lambeq.bobcat.BertForChartClassification attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) E ECR() (lambeq.backend.converters.tk.Circuit method) enable_adapters() (lambeq.bobcat.BertForChartClassification method) enable_input_require_grads() (lambeq.bobcat.BertForChartClassification method) Encode (class in lambeq.backend.quantum) encode() (lambeq.text2diagram.CCGRule method) endswith() (lambeq.text2diagram.CCGRule method) Entity (class in lambeq.backend.grammar) errno (lambeq.text2diagram.WebParseError attribute) estimate_tokens() (lambeq.bobcat.BertForChartClassification method) ESWAP() (lambeq.backend.converters.tk.Circuit method) eval() (lambeq.backend.pennylane.PennyLaneCircuit method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) expandtabs() (lambeq.text2diagram.CCGRule method) extend() (lambeq.backend.grammar.Layer method) (lambeq.backend.quantum.Layer method) (lambeq.backend.tensor.Layer method) extra_repr() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) extract_ops_from_tk() (in module lambeq.backend.pennylane) F fa() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) fc() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) feature (lambeq.bobcat.Category attribute) filename (lambeq.text2diagram.WebParseError attribute) filename2 (lambeq.text2diagram.WebParseError attribute) filled_deps (lambeq.bobcat.ParseTree attribute) filter_root() (lambeq.bobcat.ChartParser method) find() (lambeq.text2diagram.CCGRule method) fit() (lambeq.QuantumTrainer method) (lambeq.Trainer method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumTrainer method) (lambeq.training.Trainer method) flatten_registers() (lambeq.backend.converters.tk.Circuit method) float() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) floating_point_ops() (lambeq.bobcat.BertForChartClassification method) format() (lambeq.text2diagram.CCGRule method) format_map() (lambeq.text2diagram.CCGRule method) forward() (lambeq.bobcat.BertForChartClassification method) (lambeq.Model method) (lambeq.NumpyModel method) (lambeq.PennyLaneModel method) (lambeq.PytorchModel method) (lambeq.QuantumModel method) (lambeq.TketModel method) (lambeq.training.Model method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) FORWARD_APPLICATION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) FORWARD_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) FORWARD_CROSSED_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) FORWARD_TYPE_RAISING (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) framework (lambeq.bobcat.BertForChartClassification property) free_symbols (lambeq.backend.quantum.AntiConjugate property) (lambeq.backend.quantum.Bit property) (lambeq.backend.quantum.Box property) (lambeq.backend.quantum.Bra property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Daggered property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.quantum.Discard property) (lambeq.backend.quantum.Encode property) (lambeq.backend.quantum.Ket property) (lambeq.backend.quantum.Measure property) (lambeq.backend.quantum.MixedState property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) (lambeq.backend.quantum.Scalar property) (lambeq.backend.quantum.SelfConjugate property) (lambeq.backend.quantum.Sqrt property) (lambeq.backend.quantum.Swap property) (lambeq.backend.tensor.Box property) (lambeq.backend.tensor.Cap property) (lambeq.backend.tensor.Cup property) (lambeq.backend.tensor.Daggered property) (lambeq.backend.tensor.Diagram property) (lambeq.backend.tensor.Spider property) (lambeq.backend.tensor.Swap property) free_symbols() (lambeq.backend.converters.tk.Circuit method) Frobenius algebra from_checkpoint() (lambeq.Model class method) (lambeq.training.Model class method) (lambeq.training.NumpyModel class method) (lambeq.training.PennyLaneModel class method) (lambeq.training.PytorchModel class method) (lambeq.training.QuantumModel class method) (lambeq.training.TketModel class method) from_diagram() (lambeq.backend.drawing.DrawableDiagram class method) from_diagrams() (lambeq.Model class method) (lambeq.PennyLaneModel class method) (lambeq.rewrite.UnknownWordsRewriteRule class method) (lambeq.training.Model class method) (lambeq.training.NumpyModel class method) (lambeq.training.PennyLaneModel class method) (lambeq.training.PytorchModel class method) (lambeq.training.QuantumModel class method) (lambeq.training.TketModel class method) (lambeq.UnknownWordsRewriteRule class method) from_dict() (lambeq.backend.converters.tk.Circuit static method) from_discopy() (in module lambeq.backend.converters.discopy) (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) from_file() (lambeq.Checkpoint class method) (lambeq.training.Checkpoint class method) from_json() (lambeq.backend.grammar.Box class method) (lambeq.backend.grammar.Cap class method) (lambeq.backend.grammar.Category method) (lambeq.backend.grammar.Cup class method) (lambeq.backend.grammar.Daggered class method) (lambeq.backend.grammar.Diagram class method) (lambeq.backend.grammar.Layer class method) (lambeq.backend.grammar.Spider class method) (lambeq.backend.grammar.Swap class method) (lambeq.backend.grammar.Ty class method) (lambeq.backend.grammar.Word class method) (lambeq.backend.quantum.AntiConjugate class method) (lambeq.backend.quantum.Bit class method) (lambeq.backend.quantum.Box class method) (lambeq.backend.quantum.Bra class method) (lambeq.backend.quantum.Controlled class method) (lambeq.backend.quantum.Daggered class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.quantum.Discard class method) (lambeq.backend.quantum.Encode class method) (lambeq.backend.quantum.Ket class method) (lambeq.backend.quantum.Layer class method) (lambeq.backend.quantum.Measure class method) (lambeq.backend.quantum.MixedState class method) (lambeq.backend.quantum.Parametrized class method) (lambeq.backend.quantum.Rotation class method) (lambeq.backend.quantum.Rx class method) (lambeq.backend.quantum.Ry class method) (lambeq.backend.quantum.Rz class method) (lambeq.backend.quantum.Scalar class method) (lambeq.backend.quantum.SelfConjugate class method) (lambeq.backend.quantum.Sqrt class method) (lambeq.backend.quantum.Swap class method) (lambeq.backend.quantum.Ty class method) (lambeq.backend.tensor.Box class method) (lambeq.backend.tensor.Cap class method) (lambeq.backend.tensor.Cup class method) (lambeq.backend.tensor.Daggered class method) (lambeq.backend.tensor.Diagram class method) (lambeq.backend.tensor.Dim class method) (lambeq.backend.tensor.Layer class method) (lambeq.backend.tensor.Spider class method) (lambeq.backend.tensor.Swap class method) (lambeq.CCGTree class method) (lambeq.text2diagram.CCGTree class method) from_pretrained() (lambeq.bobcat.BertForChartClassification class method) from_tk() (in module lambeq.backend.converters.tk) FSim() (lambeq.backend.converters.tk.Circuit method) functor Functor (class in lambeq.backend.grammar) fwd (lambeq.bobcat.Category property) fwd_comp (lambeq.bobcat.ParseTree property) fx() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) G GENERALIZED_BACKWARD_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) GENERALIZED_BACKWARD_CROSSED_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) GENERALIZED_FORWARD_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) GENERALIZED_FORWARD_CROSSED_COMPOSITION (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) generate() (lambeq.bobcat.BertForChartClassification method) generate_cap() (in module lambeq.backend.quantum) generate_cup() (in module lambeq.backend.quantum) generate_spider() (in module lambeq.backend.quantum) get() (lambeq.training.Checkpoint method) get_adapter_state_dict() (lambeq.bobcat.BertForChartClassification method) get_backend() (in module lambeq.backend.numerical_backend) get_buffer() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) get_c_register() (lambeq.backend.converters.tk.Circuit method) get_commands() (lambeq.backend.converters.tk.Circuit method) get_counts() (lambeq.backend.converters.tk.Circuit method) get_device() (lambeq.backend.pennylane.PennyLaneCircuit method) get_diagram_output() (lambeq.Model method) (lambeq.NumpyModel method) (lambeq.PennyLaneModel method) (lambeq.PytorchModel method) (lambeq.QuantumModel method) (lambeq.TketModel method) (lambeq.training.Model method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) get_extended_attention_mask() (lambeq.bobcat.BertForChartClassification method) get_extra_state() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) get_head_mask() (lambeq.bobcat.BertForChartClassification method) get_input_embeddings() (lambeq.bobcat.BertForChartClassification method) get_memory_footprint() (lambeq.bobcat.BertForChartClassification method) get_output_embeddings() (lambeq.bobcat.BertForChartClassification method) get_parameter() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) get_position_embeddings() (lambeq.bobcat.BertForChartClassification method) get_post_selection_dict() (in module lambeq.backend.pennylane) get_q_register() (lambeq.backend.converters.tk.Circuit method) get_resources() (lambeq.backend.converters.tk.Circuit method) get_span_score() (lambeq.bobcat.ChartParser method) get_statevector() (lambeq.backend.converters.tk.Circuit method) get_submodule() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) get_unitary() (lambeq.backend.converters.tk.Circuit method) get_unitary_times_other() (lambeq.backend.converters.tk.Circuit method) get_valid_states() (lambeq.backend.pennylane.PennyLaneCircuit method) GPI() (lambeq.backend.converters.tk.Circuit method) GPI2() (lambeq.backend.converters.tk.Circuit method) gradient_checkpointing_disable() (lambeq.bobcat.BertForChartClassification method) gradient_checkpointing_enable() (lambeq.bobcat.BertForChartClassification method) Grammar (class in lambeq.bobcat) H H() (lambeq.backend.converters.tk.Circuit method) half() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) has_value() (lambeq.VerbosityLevel class method) heal_tokens() (lambeq.bobcat.BertForChartClassification method) HEIGHT, [1] (lambeq.text2diagram.TreeReaderMode attribute) (lambeq.TreeReaderMode attribute) I Id() (in module lambeq.backend.grammar) (in module lambeq.backend.quantum) id() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) implicit_qubit_permutation() (lambeq.backend.converters.tk.Circuit method) index() (lambeq.text2diagram.CCGRule method) infer_rule() (lambeq.CCGRule class method) (lambeq.text2diagram.CCGRule class method) init_and_discard() (lambeq.backend.quantum.Diagram method) init_weights() (lambeq.bobcat.BertForChartClassification method) initialise_concrete_params() (lambeq.backend.pennylane.PennyLaneCircuit method) initialise_device_and_circuit() (lambeq.backend.pennylane.PennyLaneCircuit method) initialise_weights() (lambeq.Model method) (lambeq.PennyLaneModel method) (lambeq.PytorchModel method) (lambeq.QuantumModel method) (lambeq.training.Model method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) input_supertags (lambeq.bobcat.Sentence attribute) interchange() (in module lambeq.backend.snake_removal) InterchangerError invert_attention_mask() (lambeq.bobcat.BertForChartClassification method) ipu() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) IQP circuit IQPAnsatz (class in lambeq) (class in lambeq.ansatz) is_atomic (lambeq.backend.grammar.Ty property) (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Dim property) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) is_classical (lambeq.backend.quantum.AntiConjugate property) (lambeq.backend.quantum.Bit property) (lambeq.backend.quantum.Box property) (lambeq.backend.quantum.Bra property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Daggered property) (lambeq.backend.quantum.Discard property) (lambeq.backend.quantum.Encode property) (lambeq.backend.quantum.Ket property) (lambeq.backend.quantum.Measure property) (lambeq.backend.quantum.MixedState property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) (lambeq.backend.quantum.Scalar property) (lambeq.backend.quantum.SelfConjugate property) (lambeq.backend.quantum.Sqrt property) (lambeq.backend.quantum.Swap property) is_complex (lambeq.backend.grammar.Ty property) (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Dim property) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) is_conjoinable (lambeq.CCGType property) (lambeq.text2diagram.CCGType property) is_empty (lambeq.backend.grammar.Ty property) (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Dim property) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) is_gradient_checkpointing (lambeq.bobcat.BertForChartClassification property) is_id (lambeq.backend.grammar.Diagram property) (lambeq.backend.grammar.Diagrammable property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.tensor.Diagram property) is_leaf (lambeq.bobcat.ParseTree property) is_mixed (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Diagram property) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) is_over (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) is_parallelizable (lambeq.bobcat.BertForChartClassification attribute) is_pregroup (lambeq.backend.grammar.Diagram property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.tensor.Diagram property) is_reversed (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) is_simple (lambeq.backend.converters.tk.Circuit property) is_symbolic() (lambeq.backend.converters.tk.Circuit method) is_under (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) isalnum() (lambeq.text2diagram.CCGRule method) isalpha() (lambeq.text2diagram.CCGRule method) isascii() (lambeq.text2diagram.CCGRule method) isdecimal() (lambeq.text2diagram.CCGRule method) isdigit() (lambeq.text2diagram.CCGRule method) isidentifier() (lambeq.text2diagram.CCGRule method) islower() (lambeq.text2diagram.CCGRule method) isnumeric() (lambeq.text2diagram.CCGRule method) isprintable() (lambeq.text2diagram.CCGRule method) isspace() (lambeq.text2diagram.CCGRule method) istitle() (lambeq.text2diagram.CCGRule method) isupper() (lambeq.text2diagram.CCGRule method) ISWAP() (lambeq.backend.converters.tk.Circuit method) ISWAPMax() (lambeq.backend.converters.tk.Circuit method) items() (lambeq.training.Checkpoint method) J JAX (class in lambeq.backend.numerical_backend) join() (lambeq.text2diagram.CCGRule method) K Ket (class in lambeq.backend.quantum) keys() (lambeq.training.Checkpoint method) L l (lambeq.backend.grammar.Box property) (lambeq.backend.grammar.Cap property) (lambeq.backend.grammar.Cup property) (lambeq.backend.grammar.Daggered property) (lambeq.backend.grammar.Diagram property) (lambeq.backend.grammar.Spider property) (lambeq.backend.grammar.Swap property) (lambeq.backend.grammar.Ty property) (lambeq.backend.grammar.Word property) (lambeq.backend.quantum.AntiConjugate property) (lambeq.backend.quantum.Bit property) (lambeq.backend.quantum.Box property) (lambeq.backend.quantum.Bra property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Daggered property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.quantum.Discard property) (lambeq.backend.quantum.Encode property) (lambeq.backend.quantum.Ket property) (lambeq.backend.quantum.Measure property) (lambeq.backend.quantum.MixedState property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) (lambeq.backend.quantum.Scalar property) (lambeq.backend.quantum.SelfConjugate property) (lambeq.backend.quantum.Sqrt property) (lambeq.backend.quantum.Swap property) (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Box property) (lambeq.backend.tensor.Cap property) (lambeq.backend.tensor.Cup property) (lambeq.backend.tensor.Daggered property) (lambeq.backend.tensor.Diagram property) (lambeq.backend.tensor.Dim property) (lambeq.backend.tensor.Spider property) (lambeq.backend.tensor.Swap property) lambdas (lambeq.NumpyModel attribute) lambdify() (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) lambeq module lambeq.ansatz module lambeq.backend.converters.discopy module lambeq.backend.converters.tk module lambeq.backend.drawing module lambeq.backend.grammar module lambeq.backend.numerical_backend module lambeq.backend.pennylane module lambeq.backend.quantum module lambeq.backend.snake_removal module lambeq.backend.tensor module lambeq.bobcat module lambeq.rewrite module lambeq.text2diagram module lambeq.tokeniser module lambeq.training module Layer (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (class in lambeq.backend.tensor) (lambeq.backend.grammar.Category attribute) layers (lambeq.backend.grammar.Diagram attribute) (lambeq.backend.quantum.Diagram attribute) (lambeq.backend.tensor.Diagram attribute) left (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Layer attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.quantum.Layer attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Layer attribute) (lambeq.backend.tensor.Swap attribute) (lambeq.bobcat.ParseTree attribute) (lambeq.CCGTree property) (lambeq.CCGType property) (lambeq.text2diagram.CCGTree property) (lambeq.text2diagram.CCGType property) LEXICAL (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) lift() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) LinearReader (class in lambeq) (class in lambeq.text2diagram) ljust() (lambeq.text2diagram.CCGRule method) load() (lambeq.bobcat.Grammar class method) (lambeq.Model method) (lambeq.training.Model method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) load_adapter() (lambeq.bobcat.BertForChartClassification method) load_state_dict() (lambeq.bobcat.BertForChartClassification method) (lambeq.NelderMeadOptimizer method) (lambeq.Optimizer method) (lambeq.RotosolveOptimizer method) (lambeq.SPSAOptimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.Optimizer method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) load_tf_weights() (lambeq.bobcat.BertForChartClassification method) load_training_checkpoint() (lambeq.Trainer method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumTrainer method) (lambeq.training.Trainer method) loss function LossFunction (class in lambeq) (class in lambeq.training) lower() (lambeq.text2diagram.CCGRule method) lstrip() (lambeq.text2diagram.CCGRule method) M main_input_name (lambeq.bobcat.BertForChartClassification attribute) make_circuit() (lambeq.backend.pennylane.PennyLaneCircuit method) maketrans() (lambeq.text2diagram.CCGRule static method) matches() (lambeq.bobcat.Category method) (lambeq.CoordinationRewriteRule method) (lambeq.CurryRewriteRule method) (lambeq.DiagramRewriter method) (lambeq.RemoveCupsRewriter method) (lambeq.RemoveSwapsRewriter method) (lambeq.rewrite.CoordinationRewriteRule method) (lambeq.rewrite.CurryRewriteRule method) (lambeq.rewrite.DiagramRewriter method) (lambeq.rewrite.RemoveCupsRewriter method) (lambeq.rewrite.RemoveSwapsRewriter method) (lambeq.rewrite.RewriteRule method) (lambeq.rewrite.SimpleRewriteRule method) (lambeq.rewrite.UnifyCodomainRewriter method) (lambeq.rewrite.UnknownWordsRewriteRule method) (lambeq.RewriteRule method) (lambeq.SimpleRewriteRule method) (lambeq.UnifyCodomainRewriter method) (lambeq.UnknownWordsRewriteRule method) matrix product state (MPS) Measure (class in lambeq.backend.quantum) Measure() (lambeq.backend.converters.tk.Circuit method) measure_all() (lambeq.backend.converters.tk.Circuit method) measure_register() (lambeq.backend.converters.tk.Circuit method) MixedState (class in lambeq.backend.quantum) model Model (class in lambeq) (class in lambeq.training) model (lambeq.NelderMeadOptimizer attribute) (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) (lambeq.RotosolveOptimizer attribute) (lambeq.SPSAOptimizer attribute) (lambeq.training.NelderMeadOptimizer attribute) (lambeq.training.PytorchTrainer attribute) (lambeq.training.QuantumTrainer attribute) (lambeq.training.RotosolveOptimizer attribute) (lambeq.training.SPSAOptimizer attribute) model_tags (lambeq.bobcat.BertForChartClassification attribute) module lambeq lambeq.ansatz lambeq.backend.converters.discopy lambeq.backend.converters.tk lambeq.backend.drawing lambeq.backend.grammar lambeq.backend.numerical_backend lambeq.backend.pennylane lambeq.backend.quantum lambeq.backend.snake_removal lambeq.backend.tensor lambeq.bobcat lambeq.rewrite lambeq.text2diagram lambeq.tokeniser lambeq.training modules (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) modules() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) monoidal category MPSAnsatz (class in lambeq) (class in lambeq.ansatz) MSELoss (class in lambeq) (class in lambeq.training) N n_1qb_gates() (lambeq.backend.converters.tk.Circuit method) n_2qb_gates() (lambeq.backend.converters.tk.Circuit method) n_bits (lambeq.backend.converters.tk.Circuit property) n_gates (lambeq.backend.converters.tk.Circuit property) n_gates_of_type() (lambeq.backend.converters.tk.Circuit method) n_legs_in (lambeq.backend.grammar.Spider attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Spider attribute) n_legs_out (lambeq.backend.grammar.Spider attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Spider attribute) n_nqb_gates() (lambeq.backend.converters.tk.Circuit method) n_qubits (lambeq.backend.converters.tk.Circuit property) name (lambeq.ansatz.Symbol attribute) (lambeq.backend.converters.tk.Circuit property) (lambeq.backend.grammar.Box attribute) (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Category attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Spider attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.grammar.Ty attribute) (lambeq.backend.grammar.Word attribute) (lambeq.backend.numerical_backend.Backend property) (lambeq.backend.numerical_backend.JAX property) (lambeq.backend.numerical_backend.NumPy property) (lambeq.backend.numerical_backend.PyTorch property) (lambeq.backend.numerical_backend.TensorFlow property) (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.quantum.Ty attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Dim attribute) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) (lambeq.CCGType property) (lambeq.Symbol attribute) (lambeq.text2diagram.CCGType property) named_buffers() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) named_children() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) named_modules() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) named_parameters() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) natural language processing (NLP) NelderMeadOptimizer (class in lambeq) (class in lambeq.training) NISQ NO_TYPE, [1] (lambeq.text2diagram.TreeReaderMode attribute) (lambeq.TreeReaderMode attribute) noise normal_form() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) normalize() (in module lambeq.backend.snake_removal) NOUN (lambeq.AtomicType attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) NOUN_PHRASE (lambeq.AtomicType attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) num_parameters() (lambeq.bobcat.BertForChartClassification method) NumPy (class in lambeq.backend.numerical_backend) NumpyModel (class in lambeq) (class in lambeq.training) O ob() (lambeq.backend.grammar.Functor method) ob_size() (lambeq.ansatz.CircuitAnsatz method) (lambeq.CircuitAnsatz method) ob_with_cache() (lambeq.backend.grammar.Functor method) objective() (lambeq.NelderMeadOptimizer method) (lambeq.training.NelderMeadOptimizer method) objects (lambeq.backend.grammar.Ty attribute) (lambeq.backend.quantum.Ty attribute) (lambeq.backend.tensor.Dim attribute) offsets (lambeq.backend.grammar.Diagram property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.tensor.Diagram property) opgroups (lambeq.backend.converters.tk.Circuit property) ops_of_type() (lambeq.backend.converters.tk.Circuit method) Optimizer (class in lambeq) (class in lambeq.training) output_type (lambeq.rewrite.UnifyCodomainRewriter attribute) (lambeq.UnifyCodomainRewriter attribute) over() (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) P param_substitution() (lambeq.backend.pennylane.PennyLaneCircuit method) parameters() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) Parametrized (class in lambeq.backend.quantum) params_shape() (lambeq.ansatz.CircuitAnsatz method) (lambeq.ansatz.IQPAnsatz method) (lambeq.ansatz.Sim14Ansatz method) (lambeq.ansatz.Sim15Ansatz method) (lambeq.ansatz.Sim4Ansatz method) (lambeq.ansatz.StronglyEntanglingAnsatz method) (lambeq.CircuitAnsatz method) (lambeq.IQPAnsatz method) (lambeq.Sim14Ansatz method) (lambeq.Sim15Ansatz method) (lambeq.Sim4Ansatz method) (lambeq.StronglyEntanglingAnsatz method) parse() (lambeq.bobcat.Category static method) (lambeq.bobcat.Tagger method) (lambeq.CCGType class method) (lambeq.text2diagram.CCGType class method) parser ParseTree (class in lambeq.bobcat) partition() (lambeq.text2diagram.CCGRule method) PennyLane PennyLaneCircuit (class in lambeq.backend.pennylane) PennyLaneModel (class in lambeq) (class in lambeq.training) permutation() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) permuted() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) phase (lambeq.backend.converters.tk.Circuit property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) Phase() (lambeq.backend.converters.tk.Circuit method) PhasedISWAP() (lambeq.backend.converters.tk.Circuit method) PhasedX() (lambeq.backend.converters.tk.Circuit method) placeholder() (lambeq.rewrite.SimpleRewriteRule class method) (lambeq.SimpleRewriteRule class method) post-selection post_init() (lambeq.bobcat.BertForChartClassification method) post_process() (lambeq.backend.converters.tk.Circuit method) post_select() (lambeq.backend.converters.tk.Circuit method) post_selected_circuit() (lambeq.backend.pennylane.PennyLaneCircuit method) pregroup grammar pregroup_normal_form() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) prepare_inputs() (lambeq.bobcat.Tagger method) prepare_inputs_for_generation() (lambeq.bobcat.BertForChartClassification method) PREPOSITIONAL_PHRASE (lambeq.AtomicType attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) probability (lambeq.bobcat.Supertag attribute) product (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Dim property) PROGRESS (lambeq.VerbosityLevel attribute) project (lambeq.SPSAOptimizer attribute) project() (lambeq.NelderMeadOptimizer method) (lambeq.RotosolveOptimizer static method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.RotosolveOptimizer static method) prune_heads() (lambeq.bobcat.BertForChartClassification method) PUNCTUATION (lambeq.AtomicType attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) push_to_hub() (lambeq.bobcat.BertForChartClassification method) pytket PyTorch (class in lambeq.backend.numerical_backend) PytorchModel (class in lambeq) (class in lambeq.training) PytorchTrainer (class in lambeq) (class in lambeq.training) Q q_registers (lambeq.backend.converters.tk.Circuit property) Qiskit quantum circuit quantum gate quantum NLP (QNLP) QuantumModel (class in lambeq) (class in lambeq.training) QuantumTrainer (class in lambeq) (class in lambeq.training) qubit qubit_create() (lambeq.backend.converters.tk.Circuit method) qubit_create_all() (lambeq.backend.converters.tk.Circuit method) qubit_discard() (lambeq.backend.converters.tk.Circuit method) qubit_discard_all() (lambeq.backend.converters.tk.Circuit method) qubit_is_created() (lambeq.backend.converters.tk.Circuit method) qubit_is_discarded() (lambeq.backend.converters.tk.Circuit method) qubit_readout (lambeq.backend.converters.tk.Circuit property) qubit_to_bit_map (lambeq.backend.converters.tk.Circuit property) qubits (lambeq.backend.converters.tk.Circuit property) R r (lambeq.backend.grammar.Box property) (lambeq.backend.grammar.Cap property) (lambeq.backend.grammar.Cup property) (lambeq.backend.grammar.Daggered property) (lambeq.backend.grammar.Diagram property) (lambeq.backend.grammar.Spider property) (lambeq.backend.grammar.Swap property) (lambeq.backend.grammar.Ty property) (lambeq.backend.grammar.Word property) (lambeq.backend.quantum.AntiConjugate property) (lambeq.backend.quantum.Bit property) (lambeq.backend.quantum.Box property) (lambeq.backend.quantum.Bra property) (lambeq.backend.quantum.Controlled property) (lambeq.backend.quantum.Daggered property) (lambeq.backend.quantum.Diagram property) (lambeq.backend.quantum.Discard property) (lambeq.backend.quantum.Encode property) (lambeq.backend.quantum.Ket property) (lambeq.backend.quantum.Measure property) (lambeq.backend.quantum.MixedState property) (lambeq.backend.quantum.Parametrized property) (lambeq.backend.quantum.Rotation property) (lambeq.backend.quantum.Rx property) (lambeq.backend.quantum.Ry property) (lambeq.backend.quantum.Rz property) (lambeq.backend.quantum.Scalar property) (lambeq.backend.quantum.SelfConjugate property) (lambeq.backend.quantum.Sqrt property) (lambeq.backend.quantum.Swap property) (lambeq.backend.quantum.Ty property) (lambeq.backend.tensor.Box property) (lambeq.backend.tensor.Cap property) (lambeq.backend.tensor.Cup property) (lambeq.backend.tensor.Daggered property) (lambeq.backend.tensor.Diagram property) (lambeq.backend.tensor.Dim property) (lambeq.backend.tensor.Spider property) (lambeq.backend.tensor.Swap property) reader Reader (class in lambeq) (class in lambeq.text2diagram) register_backward_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_buffer() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_for_auto_class() (lambeq.bobcat.BertForChartClassification class method) register_forward_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_forward_pre_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_full_backward_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_full_backward_pre_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_load_state_dict_post_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_module() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_parameter() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) register_special_box() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) register_state_dict_pre_hook() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) relation (lambeq.bobcat.Category attribute) remove_blank_wires() (lambeq.backend.converters.tk.Circuit method) REMOVE_PUNCTUATION_LEFT (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) REMOVE_PUNCTUATION_RIGHT (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) RemoveCupsRewriter (class in lambeq) (class in lambeq.rewrite) removeprefix() (lambeq.text2diagram.CCGRule method) removesuffix() (lambeq.text2diagram.CCGRule method) RemoveSwapsRewriter (class in lambeq) (class in lambeq.rewrite) rename_units() (lambeq.backend.converters.tk.Circuit method) render_as_str() (in module lambeq.backend.drawing) (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) repeat() (lambeq.backend.grammar.Ty method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Dim method) replace() (lambeq.CCGType method) (lambeq.text2diagram.CCGRule method) (lambeq.text2diagram.CCGType method) replace_implicit_wire_swaps() (lambeq.backend.converters.tk.Circuit method) replace_result() (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) replace_SWAPs() (lambeq.backend.converters.tk.Circuit method) requires_grad_() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) Reset() (lambeq.backend.converters.tk.Circuit method) reset_memory_hooks_state() (lambeq.bobcat.BertForChartClassification method) resize_position_embeddings() (lambeq.bobcat.BertForChartClassification method) resize_token_embeddings() (lambeq.bobcat.BertForChartClassification method) resolve() (lambeq.CCGRule method) (lambeq.text2diagram.CCGRule method) result (lambeq.bobcat.Category attribute) (lambeq.CCGType property) (lambeq.text2diagram.CCGType property) retrieve_modules_from_names() (lambeq.bobcat.BertForChartClassification method) reverse_bettertransformer() (lambeq.bobcat.BertForChartClassification method) rewrite rule rewrite() (lambeq.CoordinationRewriteRule method) (lambeq.CurryRewriteRule method) (lambeq.DiagramRewriter method) (lambeq.RemoveCupsRewriter method) (lambeq.RemoveSwapsRewriter method) (lambeq.rewrite.CoordinationRewriteRule method) (lambeq.rewrite.CurryRewriteRule method) (lambeq.rewrite.DiagramRewriter method) (lambeq.rewrite.RemoveCupsRewriter method) (lambeq.rewrite.RemoveSwapsRewriter method) (lambeq.rewrite.RewriteRule method) (lambeq.rewrite.SimpleRewriteRule method) (lambeq.rewrite.UnifyCodomainRewriter method) (lambeq.rewrite.UnknownWordsRewriteRule method) (lambeq.RewriteRule method) (lambeq.SimpleRewriteRule method) (lambeq.UnifyCodomainRewriter method) (lambeq.UnknownWordsRewriteRule method) rewriter Rewriter (class in lambeq) (class in lambeq.rewrite) RewriteRule (class in lambeq) (class in lambeq.rewrite) rfind() (lambeq.text2diagram.CCGRule method) right (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Layer attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.quantum.Layer attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Layer attribute) (lambeq.backend.tensor.Swap attribute) (lambeq.bobcat.ParseTree attribute) (lambeq.CCGTree property) (lambeq.CCGType property) (lambeq.text2diagram.CCGTree property) (lambeq.text2diagram.CCGType property) rigid category rindex() (lambeq.text2diagram.CCGRule method) rjust() (lambeq.text2diagram.CCGRule method) rotate() (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Diagrammable method) (lambeq.backend.grammar.Layer method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Layer method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Layer method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) Rotation (class in lambeq.backend.quantum) RotosolveOptimizer (class in lambeq) (class in lambeq.training) rpartition() (lambeq.text2diagram.CCGRule method) rsplit() (lambeq.text2diagram.CCGRule method) rstrip() (lambeq.text2diagram.CCGRule method) rule (lambeq.bobcat.ParseTree attribute) RULE_ONLY, [1] (lambeq.text2diagram.TreeReaderMode attribute) (lambeq.TreeReaderMode attribute) RULE_TYPE, [1] (lambeq.text2diagram.TreeReaderMode attribute) (lambeq.TreeReaderMode attribute) Rx (class in lambeq.backend.quantum) Rx() (lambeq.backend.converters.tk.Circuit method) Ry (class in lambeq.backend.quantum) Ry() (lambeq.backend.converters.tk.Circuit method) Rz (class in lambeq.backend.quantum) Rz() (lambeq.backend.converters.tk.Circuit method) S S() (lambeq.backend.converters.tk.Circuit method) save() (lambeq.bobcat.Grammar method) (lambeq.Model method) (lambeq.training.Model method) (lambeq.training.NumpyModel method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.QuantumModel method) (lambeq.training.TketModel method) save_checkpoint() (lambeq.Trainer method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumTrainer method) (lambeq.training.Trainer method) save_pretrained() (lambeq.bobcat.BertForChartClassification method) Scalar (class in lambeq.backend.quantum) scale() (lambeq.backend.converters.tk.Circuit method) scale_and_pad() (lambeq.backend.drawing.DrawableDiagram method) score (lambeq.bobcat.ParseTree attribute) Sdg() (lambeq.backend.converters.tk.Circuit method) section2diagrams() (lambeq.CCGBankParser method) (lambeq.text2diagram.CCGBankParser method) section2diagrams_gen() (lambeq.CCGBankParser method) (lambeq.text2diagram.CCGBankParser method) section2trees() (lambeq.CCGBankParser method) (lambeq.text2diagram.CCGBankParser method) section2trees_gen() (lambeq.CCGBankParser method) (lambeq.text2diagram.CCGBankParser method) self_adjoint (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) SelfConjugate (class in lambeq.backend.quantum) Sentence (class in lambeq.bobcat) SENTENCE (lambeq.AtomicType attribute) (lambeq.CCGType attribute) (lambeq.text2diagram.CCGType attribute) sentence2diagram() (lambeq.CCGParser method) (lambeq.DepCCGParser method) (lambeq.LinearReader method) (lambeq.Reader method) (lambeq.text2diagram.BobcatParser method) (lambeq.text2diagram.CCGBankParser method) (lambeq.text2diagram.CCGParser method) (lambeq.text2diagram.DepCCGParser method) (lambeq.text2diagram.LinearReader method) (lambeq.text2diagram.Reader method) (lambeq.text2diagram.TreeReader method) (lambeq.text2diagram.WebParser method) (lambeq.TreeReader method) sentence2tree() (lambeq.CCGParser method) (lambeq.DepCCGParser method) (lambeq.text2diagram.BobcatParser method) (lambeq.text2diagram.CCGBankParser method) (lambeq.text2diagram.CCGParser method) (lambeq.text2diagram.DepCCGParser method) (lambeq.text2diagram.WebParser method) sentences2diagrams() (lambeq.CCGParser method) (lambeq.Reader method) (lambeq.text2diagram.BobcatParser method) (lambeq.text2diagram.CCGBankParser method) (lambeq.text2diagram.CCGParser method) (lambeq.text2diagram.DepCCGParser method) (lambeq.text2diagram.LinearReader method) (lambeq.text2diagram.Reader method) (lambeq.text2diagram.TreeReader method) (lambeq.text2diagram.WebParser method) sentences2trees() (lambeq.BobcatParser method) (lambeq.CCGBankParser method) (lambeq.CCGParser method) (lambeq.DepCCGParser method) (lambeq.text2diagram.BobcatParser method) (lambeq.text2diagram.CCGBankParser method) (lambeq.text2diagram.CCGParser method) (lambeq.text2diagram.DepCCGParser method) (lambeq.text2diagram.WebParser method) (lambeq.WebParser method) set() (lambeq.backend.grammar.Category method) set_adapter() (lambeq.bobcat.BertForChartClassification method) set_backend() (in module lambeq.backend.numerical_backend) set_extra_state() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) set_input_embeddings() (lambeq.bobcat.BertForChartClassification method) set_root_cats() (lambeq.bobcat.ChartParser method) share_memory() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) shots shuffle_data() (lambeq.Dataset static method) (lambeq.training.Dataset static method) Sim14Ansatz (class in lambeq) (class in lambeq.ansatz) Sim15Ansatz (class in lambeq) (class in lambeq.ansatz) Sim4Ansatz (class in lambeq) (class in lambeq.ansatz) SimpleRewriteRule (class in lambeq) (class in lambeq.rewrite) size (lambeq.ansatz.Symbol property) (lambeq.Symbol property) slash() (lambeq.bobcat.Category method) (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) snake equations snake_removal() (in module lambeq.backend.snake_removal) sort_key() (lambeq.ansatz.Symbol method) (lambeq.Symbol method) SpacyTokeniser (class in lambeq) (class in lambeq.tokeniser) span_scores (lambeq.bobcat.Sentence attribute) special_boxes (lambeq.backend.grammar.Diagram attribute) (lambeq.backend.quantum.Diagram attribute) (lambeq.backend.tensor.Diagram attribute) spider Spider (class in lambeq.backend.grammar) (class in lambeq.backend.tensor) SpiderAnsatz (class in lambeq) (class in lambeq.ansatz) spiders_reader (in module lambeq.text2diagram) split() (lambeq.CCGType method) (lambeq.text2diagram.CCGRule method) (lambeq.text2diagram.CCGType method) split_sentences() (lambeq.SpacyTokeniser method) (lambeq.Tokeniser method) (lambeq.tokeniser.SpacyTokeniser method) (lambeq.tokeniser.Tokeniser method) splitlines() (lambeq.text2diagram.CCGRule method) SPSAOptimizer (class in lambeq) (class in lambeq.training) Sqrt (class in lambeq.backend.quantum) stairs_reader (in module lambeq.text2diagram) startswith() (lambeq.text2diagram.CCGRule method) state_dict() (lambeq.bobcat.BertForChartClassification method) (lambeq.NelderMeadOptimizer method) (lambeq.Optimizer method) (lambeq.RotosolveOptimizer method) (lambeq.SPSAOptimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.Optimizer method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) step() (lambeq.NelderMeadOptimizer method) (lambeq.Optimizer method) (lambeq.RotosolveOptimizer method) (lambeq.SPSAOptimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.Optimizer method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) strerror (lambeq.text2diagram.WebParseError attribute) string diagram strip() (lambeq.text2diagram.CCGRule method) StronglyEntanglingAnsatz (class in lambeq) (class in lambeq.ansatz) substitute_named() (lambeq.backend.converters.tk.Circuit method) Supertag (class in lambeq.bobcat) supports_gradient_checkpointing (lambeq.bobcat.BertForChartClassification attribute) SUPPRESS (lambeq.VerbosityLevel attribute) swap Swap (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (class in lambeq.backend.tensor) SWAP() (lambeq.backend.converters.tk.Circuit method) swap() (lambeq.backend.grammar.Diagram class method) (lambeq.backend.quantum.Diagram class method) (lambeq.backend.tensor.Diagram class method) swapcase() (lambeq.text2diagram.CCGRule method) SX() (lambeq.backend.converters.tk.Circuit method) SXdg() (lambeq.backend.converters.tk.Circuit method) Sycamore() (lambeq.backend.converters.tk.Circuit method) symbol Symbol (class in lambeq) (class in lambeq.ansatz) symbol (lambeq.CCGRule property) (lambeq.text2diagram.CCGRule property) symbol_substitution() (lambeq.backend.converters.tk.Circuit method) symbol_weight_map (lambeq.PennyLaneModel attribute) symbols (lambeq.NumpyModel attribute) (lambeq.PennyLaneModel attribute) (lambeq.PytorchModel attribute) (lambeq.QuantumModel attribute) (lambeq.TketModel attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) (lambeq.training.TketModel attribute) symmetric monoidal category syntax tree T T() (lambeq.backend.converters.tk.Circuit method) T_destination (lambeq.bobcat.BertForChartClassification attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) Tagger (class in lambeq.bobcat) target_category (lambeq.backend.grammar.Functor attribute) Tdg() (lambeq.backend.converters.tk.Circuit method) tensor network tensor train tensor() (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Ty method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) TensorAnsatz (class in lambeq) (class in lambeq.ansatz) TensorFlow (class in lambeq.backend.numerical_backend) text (lambeq.CCGTree property) (lambeq.text2diagram.CCGTree property) TEXT (lambeq.VerbosityLevel attribute) then() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) then_at() (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) tie_weights() (lambeq.bobcat.BertForChartClassification method) title() (lambeq.text2diagram.CCGRule method) TK1() (lambeq.backend.converters.tk.Circuit method) TK2() (lambeq.backend.converters.tk.Circuit method) tk_op_to_pennylane() (in module lambeq.backend.pennylane) tket TketModel (class in lambeq) (class in lambeq.training) to() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) to_bettertransformer() (lambeq.bobcat.BertForChartClassification method) to_diagram() (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Diagrammable method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) (lambeq.CCGTree method) (lambeq.text2diagram.CCGTree method) to_dict() (lambeq.backend.converters.tk.Circuit method) to_discopy() (in module lambeq.backend.converters.discopy) (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) to_empty() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) to_file() (lambeq.Checkpoint method) (lambeq.training.Checkpoint method) to_gif() (in module lambeq.backend.drawing) to_grammar() (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) to_json() (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.grammar.Layer method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Layer method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Diagram method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Layer method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) (lambeq.CCGTree method) (lambeq.text2diagram.CCGTree method) to_latex_file() (lambeq.backend.converters.tk.Circuit method) to_left() (lambeq.backend.grammar.Cap class method) (lambeq.backend.grammar.Cup class method) (lambeq.backend.tensor.Cap class method) (lambeq.backend.tensor.Cup class method) to_pennylane() (in module lambeq.backend.pennylane) (lambeq.backend.quantum.Diagram method) to_right() (lambeq.backend.grammar.Cap class method) (lambeq.backend.grammar.Cup class method) (lambeq.backend.tensor.Cap class method) (lambeq.backend.tensor.Cup class method) to_string() (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) to_tk() (in module lambeq.backend.converters.tk) (lambeq.backend.quantum.Diagram method) to_tn() (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) tokenise_sentence() (lambeq.Tokeniser method) (lambeq.tokeniser.SpacyTokeniser method) (lambeq.tokeniser.Tokeniser method) tokenise_sentences() (lambeq.SpacyTokeniser method) (lambeq.Tokeniser method) (lambeq.tokeniser.SpacyTokeniser method) (lambeq.tokeniser.Tokeniser method) Tokeniser (class in lambeq) (class in lambeq.tokeniser) train() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) train_costs (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) train_durations (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) train_epoch_costs (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) train_epoch_durations (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) train_eval_results (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) trainer Trainer (class in lambeq) (class in lambeq.training) training (lambeq.bobcat.BertForChartClassification attribute) (lambeq.PennyLaneModel attribute) (lambeq.PytorchModel attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) training_step() (lambeq.PytorchTrainer method) (lambeq.QuantumTrainer method) (lambeq.Trainer method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumTrainer method) (lambeq.training.Trainer method) translate() (lambeq.bobcat.Category method) (lambeq.text2diagram.CCGRule method) transpose() (lambeq.backend.converters.tk.Circuit method) (lambeq.backend.grammar.Diagram method) (lambeq.backend.quantum.Diagram method) (lambeq.backend.tensor.Diagram method) tree reader tree2diagram() (lambeq.text2diagram.TreeReader static method) (lambeq.TreeReader static method) TreeReader (class in lambeq) (class in lambeq.text2diagram) TreeReaderMode (class in lambeq) (class in lambeq.text2diagram) Ty (class in lambeq.backend.grammar) (class in lambeq.backend.quantum) (lambeq.backend.grammar.Category attribute) ty_d2l() (in module lambeq.backend.converters.discopy) ty_l2d() (in module lambeq.backend.converters.discopy) type (lambeq.backend.grammar.Spider attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.tensor.Spider attribute) type() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) type_changing_rules (lambeq.bobcat.Grammar attribute) type_raising_dep_var (lambeq.bobcat.Category attribute) type_raising_rules (lambeq.bobcat.Grammar attribute) U U1() (lambeq.backend.converters.tk.Circuit method) U2() (lambeq.backend.converters.tk.Circuit method) U3() (lambeq.backend.converters.tk.Circuit method) UNARY (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) under() (lambeq.CCGType method) (lambeq.text2diagram.CCGType method) unfilled_deps (lambeq.bobcat.ParseTree attribute) UnifyCodomainRewriter (class in lambeq) (class in lambeq.rewrite) UNKNOWN (lambeq.CCGRule attribute) (lambeq.text2diagram.CCGRule attribute) UnknownWordsRewriteRule (class in lambeq) (class in lambeq.rewrite) unpack() (lambeq.backend.grammar.Layer method) (lambeq.backend.quantum.Layer method) (lambeq.backend.tensor.Layer method) unwind() (lambeq.backend.grammar.Box method) (lambeq.backend.grammar.Cap method) (lambeq.backend.grammar.Cup method) (lambeq.backend.grammar.Daggered method) (lambeq.backend.grammar.Spider method) (lambeq.backend.grammar.Swap method) (lambeq.backend.grammar.Ty method) (lambeq.backend.grammar.Word method) (lambeq.backend.quantum.AntiConjugate method) (lambeq.backend.quantum.Bit method) (lambeq.backend.quantum.Box method) (lambeq.backend.quantum.Bra method) (lambeq.backend.quantum.Controlled method) (lambeq.backend.quantum.Daggered method) (lambeq.backend.quantum.Discard method) (lambeq.backend.quantum.Encode method) (lambeq.backend.quantum.Ket method) (lambeq.backend.quantum.Measure method) (lambeq.backend.quantum.MixedState method) (lambeq.backend.quantum.Parametrized method) (lambeq.backend.quantum.Rotation method) (lambeq.backend.quantum.Rx method) (lambeq.backend.quantum.Ry method) (lambeq.backend.quantum.Rz method) (lambeq.backend.quantum.Scalar method) (lambeq.backend.quantum.SelfConjugate method) (lambeq.backend.quantum.Sqrt method) (lambeq.backend.quantum.Swap method) (lambeq.backend.quantum.Ty method) (lambeq.backend.tensor.Box method) (lambeq.backend.tensor.Cap method) (lambeq.backend.tensor.Cup method) (lambeq.backend.tensor.Daggered method) (lambeq.backend.tensor.Dim method) (lambeq.backend.tensor.Spider method) (lambeq.backend.tensor.Swap method) update_hyper_params() (lambeq.NelderMeadOptimizer method) (lambeq.SPSAOptimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.SPSAOptimizer method) upgrade() (lambeq.backend.converters.tk.Circuit static method) upper() (lambeq.text2diagram.CCGRule method) V V() (lambeq.backend.converters.tk.Circuit method) val_costs (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) val_durations (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) val_eval_results (lambeq.PytorchTrainer attribute) (lambeq.QuantumTrainer attribute) valid_connectivity() (lambeq.backend.converters.tk.Circuit method) validation_step() (lambeq.PytorchTrainer method) (lambeq.QuantumTrainer method) (lambeq.Trainer method) (lambeq.training.PytorchTrainer method) (lambeq.training.QuantumTrainer method) (lambeq.training.Trainer method) values() (lambeq.training.Checkpoint method) var (lambeq.bobcat.Category attribute) var_map (lambeq.bobcat.ParseTree attribute) variable (lambeq.bobcat.ParseTree property) Vdg() (lambeq.backend.converters.tk.Circuit method) VerbosityLevel (class in lambeq) W warn_if_padding_and_no_attention_mask() (lambeq.bobcat.BertForChartClassification method) WebParseError, [1] WebParser (class in lambeq) (class in lambeq.text2diagram) weights (lambeq.NumpyModel attribute) (lambeq.PennyLaneModel attribute) (lambeq.PytorchModel attribute) (lambeq.QuantumModel attribute) (lambeq.TketModel attribute) (lambeq.training.NumpyModel attribute) (lambeq.training.PennyLaneModel attribute) (lambeq.training.PytorchModel attribute) (lambeq.training.QuantumModel attribute) (lambeq.training.TketModel attribute) wire_endpoints (lambeq.backend.drawing.DrawableDiagram attribute) wires (lambeq.backend.drawing.DrawableDiagram attribute) with_traceback() (lambeq.backend.snake_removal.InterchangerError method) (lambeq.text2diagram.BobcatParseError method) (lambeq.text2diagram.CCGBankParseError method) (lambeq.text2diagram.CCGRuleUseError method) (lambeq.text2diagram.DepCCGParseError method) (lambeq.text2diagram.WebParseError method) without_trivial_unary_rules() (lambeq.CCGTree method) (lambeq.text2diagram.CCGTree method) Word (class in lambeq.backend.grammar) word (lambeq.bobcat.ParseTree property) word-sequence model word_sequence_reader (in module lambeq.text2diagram) words (lambeq.bobcat.Sentence attribute) X X() (lambeq.backend.converters.tk.Circuit method) xpu() (lambeq.bobcat.BertForChartClassification method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) XXPhase() (lambeq.backend.converters.tk.Circuit method) XXPhase3() (lambeq.backend.converters.tk.Circuit method) Y Y() (lambeq.backend.converters.tk.Circuit method) YYPhase() (lambeq.backend.converters.tk.Circuit method) Z z (lambeq.backend.grammar.Box attribute) (lambeq.backend.grammar.Cap attribute) (lambeq.backend.grammar.Cup attribute) (lambeq.backend.grammar.Daggered attribute) (lambeq.backend.grammar.Spider attribute) (lambeq.backend.grammar.Swap attribute) (lambeq.backend.grammar.Ty attribute) (lambeq.backend.grammar.Word attribute) (lambeq.backend.quantum.AntiConjugate attribute) (lambeq.backend.quantum.Bit attribute) (lambeq.backend.quantum.Box attribute) (lambeq.backend.quantum.Bra attribute) (lambeq.backend.quantum.Controlled attribute) (lambeq.backend.quantum.Daggered attribute) (lambeq.backend.quantum.Discard attribute) (lambeq.backend.quantum.Encode attribute) (lambeq.backend.quantum.Ket attribute) (lambeq.backend.quantum.Measure attribute) (lambeq.backend.quantum.MixedState attribute) (lambeq.backend.quantum.Parametrized attribute) (lambeq.backend.quantum.Rotation attribute) (lambeq.backend.quantum.Rx attribute) (lambeq.backend.quantum.Ry attribute) (lambeq.backend.quantum.Rz attribute) (lambeq.backend.quantum.Scalar attribute) (lambeq.backend.quantum.SelfConjugate attribute) (lambeq.backend.quantum.Sqrt attribute) (lambeq.backend.quantum.Swap attribute) (lambeq.backend.quantum.Ty attribute) (lambeq.backend.tensor.Box attribute) (lambeq.backend.tensor.Cap attribute) (lambeq.backend.tensor.Cup attribute) (lambeq.backend.tensor.Daggered attribute) (lambeq.backend.tensor.Dim attribute) (lambeq.backend.tensor.Spider attribute) (lambeq.backend.tensor.Swap attribute) Z() (lambeq.backend.converters.tk.Circuit method) zero_grad() (lambeq.bobcat.BertForChartClassification method) (lambeq.Optimizer method) (lambeq.training.NelderMeadOptimizer method) (lambeq.training.Optimizer method) (lambeq.training.PennyLaneModel method) (lambeq.training.PytorchModel method) (lambeq.training.RotosolveOptimizer method) (lambeq.training.SPSAOptimizer method) zfill() (lambeq.text2diagram.CCGRule method) ZZMax() (lambeq.backend.converters.tk.Circuit method) ZZPhase() (lambeq.backend.converters.tk.Circuit method)