MCPcopy Create free account

hub / github.com/PennyLaneAI/demos / types & classes

Types & classes32 in github.com/PennyLaneAI/demos

↓ 13 callersClassWire
demonstrations_v2/tutorial_toric_code/demo.py:138
↓ 3 callersClassApproximate_RX
demonstrations_v2/tutorial_error_prop/demo.py:139
↓ 3 callersClassContext
Context for CLI commands.
lib/demo/context.py:6
↓ 3 callersClassDemo
Represents a demo and its metadata.
lib/demo/lib/demo.py:34
↓ 2 callersClassMMD
demonstrations_v2/tutorial_qcbm/demo.py:82
↓ 2 callersClassModel_Runner
demonstrations_v2/function_fitting_qsp/demo.py:325
↓ 2 callersClassPerturbativeGadgets
Class to generate the gadget Hamiltonian corresponding to a given computational hamiltonian according to the gadget construction derived by
demonstrations_v2/tutorial_barren_gadgets/barren_gadgets/barren_gadgets.py:7
↓ 2 callersClassQCBM
demonstrations_v2/tutorial_qcbm/demo.py:108
↓ 2 callersClassVirtualenv
Interface to a Python virtual environment.
lib/demo/lib/virtual_env.py:6
↓ 1 callersClassBPOSDDecoder
A lightweight Belief Propagation + OSD-0 decoder. Args: H (np.ndarray): Parity-check matrix for the codeword (m x n). error_rate
demonstrations_v2/tutorial_qldpc_codes/demo.py:434
↓ 1 callersClassDataGetter
A pickleable mock-up of a Python iterator on a torch.utils.Dataloader. Provide a dataset X and the resulting object O will allow you to use next(O
demonstrations_v2/tutorial_univariate_qvr/demo.py:368
↓ 1 callersClassDigitsDataset
Pytorch dataloader for the Optical Recognition of Handwritten Digits Data Set
demonstrations_v2/tutorial_quantum_gans/demo.py:166
↓ 1 callersClassDiscriminator
Fully connected classical discriminator
demonstrations_v2/tutorial_quantum_gans/demo.py:246
↓ 1 callersClassDressedQuantumNet
Torch module implementing the *dressed* quantum net.
demonstrations_v2/tutorial_quantum_transfer_learning/demo.py:360
↓ 1 callersClassGPTQE
demonstrations_v2/gqe_training/demo.py:259
↓ 1 callersClassHybridModel
demonstrations_v2/tutorial_qnn_module_torch/demo.py:234
↓ 1 callersClassIntersphinxInventories
Load and cache PennyLane and Catalyst objects.inv inventories. On initialization, each inventory is loaded from disk if present in cache
lib/inventories.py:54
↓ 1 callersClassMLP
Multi layer perceptron (MLP) with a single hidden layer.
demonstrations_v2/tutorial_rl_pulse/demo.py:363
↓ 1 callersClassPatchQuantumGenerator
Quantum generator class for the patch method
demonstrations_v2/tutorial_quantum_gans/demo.py:412
↓ 1 callersClassQML_classifier
Class for creating a quantum machine learning (classification) model based on the StronglyEntanglingLayers template. Args: input_dim
demonstrations_v2/tutorial_adversarial_attacks_QML/demo.py:159
↓ 1 callersClassQNSPSA
Quantum natural SPSA optimizer. Refer to https://quantum-journal.org/papers/q-2021-10-20-567/ for a detailed description of the methodology. When
demonstrations_v2/qnspsa/demo.py:644
↓ 1 callersClassQRNN
demonstrations_v2/learning2learn/demo.py:1013
↓ 1 callersClassRosalin
demonstrations_v2/tutorial_rosalin/demo.py:403
↓ 1 callersClasssin_prob_dist
demonstrations_v2/tutorial_haar_measure/demo.py:270
ClassBio
Embed author bio in posts (ReST format). Based on the pelican_youtube plugin: https://github.com/kura/pelican_youtube Usage: .. bio::
custom_directives.py:367
ClassBuildTarget
Sphinx-build targets.
lib/demo/lib/demo.py:26
ClassCommunityCardDirective
Create a community card.
custom_directives.py:261
ClassCustomGalleryItemDirective
Create a sphinx gallery style thumbnail. tooltip and figure are self explanatory. Description could be a link to a document like in below exa
custom_directives.py:61
ClassPerturbativeGadgets
Class to generate the gadget Hamiltonian corresponding to a given computational hamiltonian according to the gadget construction derived by
_static/demonstration_assets/barren_gadgets/barren_gadgets.py:7
ClassQSP_Func_Fit
demonstrations_v2/function_fitting_qsp/demo.py:288
ClassRelatedDirective
Add related demos to the sidebar.
custom_directives.py:345
ClassYoutubeItemDirective
Create a sphinx gallery style thumbnail.
custom_directives.py:161