Module: tfq.layers
Stay organized with collections
Save and categorize content based on your preferences.
Module definitions for tensorflow_quantum.python.layers.*
Classes
class AddCircuit
: A layer that pre/appends a sequence of gates to the input circuit tensor.
class ControlledPQC
: Controlled Parametrized Quantum Circuit (PQC) Layer.
class Expectation
: A Layer that calculates an expectation value.
class NoisyControlledPQC
: Noisy Controlled Parametrized Quantum Circuit (PQC) Layer.
class NoisyPQC
: Noisy Parametrized Quantum Circuit (PQC) Layer.
class PQC
: Parametrized Quantum Circuit (PQC) Layer.
class Sample
: A Layer that samples from a quantum circuit.
class SampledExpectation
: A layer that calculates a sampled expectation value.
class State
: A Layer that simulates a quantum state.
class Unitary
: A Layer that calculates unitary matrices of circuits.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-17 UTC."],[],[]]